重置 xtics ytics gnuplot

Nik*_*kko 6 gnuplot

在我已经使用了自定义设置之后,有什么方法可以重置或使用 xtics(或 ytics)的默认设置?

我需要这样的东西:

set ytics 0.005 nomirror
set y2tics 5 nomirror
plot 'dummy' u 1:2 axes x1y1, dummy2 u 1:2 axes x1y2

##Another plot with "normal" axes
set ytics default (this command doesn't exist but this is what I need)
set y2tics default
plot 'dummy3' u 1:2
Run Code Online (Sandbox Code Playgroud)

因此,如果该命令确实存在,那将解决我的问题,因为我现在拥有的是第二个图当然使用为前一个图定义的 ytics。而且我不想使用重置选项,因为我不想在我的脚本中再次定义所有内容。

非常感谢!

小智 4

你可以把它放在reset第二个情节之前。但它会重置一切,对你来说可能有点过分了。

您也可以使用set ytics auto. 可能会更好。

最好的,