Gnuplot:在脚本中获取禁用的绘图

问题描述 投票:0回答:1

在某些 gnuplot 终端(例如 qt 和 wxt)中,可以通过用鼠标单击按键中的条目来交互地禁用某些绘图。是否有可能在 gnuplot 脚本本身中以任何方式检索禁用的绘图?

gnuplot
1个回答
0
投票

是的。您正在寻找的命令是

toggle

gnuplot> help toggle

 Syntax:
       toggle {<plotno> | "plottitle" | all}

 This command has the same effect as left-clicking on the key entry for a plot
 currently displayed by an interactive terminal (qt, wxt, x11). If the plot is
 showing, it is toggled off;  if it is currently hidden, it is toggled on.
 `toggle all` acts on all active plots, equivalent to the hotkey "i".
 `toggle "title"` requires an exact match to the plot title.  `toggle "ti*"`
 acts on the first plot whose title matches the characters before the final '*'.
 If the current terminal is not interactive, the toggle command has no effect.
© www.soinside.com 2019 - 2024. All rights reserved.