2016-11-16 51 views
2

嘿家伙有什么方法来重置或使用xtics(或ytics)的默认设置后,我已经使用了自定义设置。重置xtics ytics gnuplot

我需要类似的东西:

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 

因此,如果该命令将实际存在,这将解决我的问题,因为我现在已经是第二曲线使用,当然,对于定义的ytics前一个。我不想使用重置选项,因为我不想在我的脚本中再次定义所有内容。

非常感谢!

+0

thx我会检查! – Nikko

回答

0

从gnuplot的帮助:

的默认值是border mirror norotate用于在x和y轴抽搐,和 border nomirror norotate用于在X2和Y2轴抽动。

所以,你的命令应该是:

set ytics border mirror norotate autofreq 
set y2tics border nomirror norotate autofreq  
+0

thx我会检查! – Nikko

1

你可以你的第二个情节之前把reset。但它会重置所有内容,可能会对你有所帮助。您可以使用set ytics auto。它可能会更好。

最好,