怎么控制 Plot 坐标轴刻度?
mathematica吧
全部回复
仅看楼主
level 4
frams 楼主
Plot 默认的刻度有点大,我想让它刻度小一些
l = Table[{i, i^2}, {i, 1, 10}];
ListLinePlot[l]
ListLinePlot[l, Ticks -> {{0, 1, 2, 3, 4}, Automatic}]
但是加了Scientific 后
ListLinePlot[l, PlotTheme -> "Scientific", Ticks -> {{0, 1, 2, 3, 4}, Automatic}]
Ticks 就没用了。
我想 PlotTheme -> "Scientific" 和 Ticks 一起用,有什么办法吗?
2018年06月15日 16点06分 1
吧务
level 15
这个问题不简单,最好的解决方法似乎是定义个新的plot theme,参看:
https://mathematica.stackexchange.com/q/51846/1871
https://mathematica.stackexchange.com/q/54545/1871
2018年07月07日 07点07分 2
1