Qurak

Place multiple legends differently

示例 1 步,在同一个会话中按顺序运行。每一步都在引擎上执行过,下面的输出就是它实际产生的。

第 1 步
Plot3D[Re[Sin[x + I y]], {x, -2Pi, Pi}, {y, -2Pi, 2Pi}, ImageSize -> 400, ClippingStyle -> {Orange, Blue}, Mesh -> None, ColorFunction -> "AvocadoColors", Axes -> False, Boxed -> False, PlotLegends -> {Placed[BarLegend[Automatic, LabelStyle -> {14, Gray}], Right], Placed[SwatchLegend[{Blue, Orange}, {"> 50", "< -50"}, LegendMarkerSize -> Large, LegendMarkers -> Automatic, LabelStyle -> {Bold, 18, Gray}], Top]}]
输出
-Graphics3D-

用到的函数

相关操作示例

全部操作示例 · 函数参考 · 从 MCP 客户端使用