【发布时间】:2011-09-04 15:28:41
【问题描述】:
考虑:
ListPlot[Range[10],
Background -> Gray,
PlotLabel -> "I don`t want the background here !"]
有没有办法让背景仅应用于实际的绘图区域?
不在轴上,不在标签后面。那么在这种情况下基本上是矩形 {{0,0},{10,10}}?
编辑:我们可以使用 PolarListPlot 做同样的事情吗?
在From Cartesian Plot to Polar Histogram using Mathematica 上使用 Sjoerd 解决方案:
dalist = {{21, 22}, {26, 13}, {32, 17}, {31, 11}, {30, 9},
{25,12}, {12, 16}, {18, 20}, {13, 23}, {19, 21},
{14, 16}, {14,22}, {18, 22}, {10, 22}, {17, 23}}
ScreenCenter = {20, 15}
ListPolarPlot[{ArcTan[##],EuclideanDistance[##]} & @@@ (# - ScreenCenter & /@ dalist),
PolarAxes -> True, PolarGridLines -> Automatic, Joined -> False,
PolarTicks -> {"Degrees", Automatic},
BaseStyle -> {FontFamily -> "Arial", FontWeight -> Bold,
FontSize -> 12}, PlotStyle -> {Red, PointSize -> 0.02}]
【问题讨论】:
-
未记录的选项
Method -> {"AxesInFront" -> True/False}可能会有所帮助。
标签: background wolfram-mathematica plot customization