2016-11-16 61 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。它可能會更好。

最好,