wer*_*evo 5 mouse interactive gnuplot input rotation
我有gnuplot 4.6在Mac OS X上工作.它也适用于Octave.这不是一个八度相关的问题,只是试图说服你gnuplot似乎安装得很好.我的问题是,虽然我可以用批量排序模式用鼠标旋转绘图(我使用x11作为绘图窗口)(例如$ unixPrompt> gnuplot pm3d.dem工作正常:我可以旋转/缩放它们),也可以旋转从Octave中创建的3d图,但我不能只进入gnuplot并从交互式gnuplot程序中旋转任何此类图.即.gnuplot> issuePlotCommands ...会把情节放得很好,但是当我以批量或八度驱动的方式发出相同的命令时,我不能像我能做的那样旋转那个图.我的交互式gnuplot似乎不允许任何鼠标输入.我目前在.profile中有GNUTERM = x11.任何人都可以指出为什么我的gnuplot安装的交互模式不会旋转到batch.dem fils和Octave?谢谢.
添加set mouse
会有什么不同吗?
(来自gnuplot doc)
The command `set mouse` enables mouse actions. Currently the pm, x11, ggi,
windows and wxt terminals are mouse enhanced. There are two mouse modes. The
2d-graph mode works for 2d graphs and for maps (i.e. splots with `set view`
having z-rotation 0, 90, 180, 270 or 360 degrees, including `set view map`)
and it allows tracing the position over graph, zooming, annotating graph etc.
For 3d graphs `splot`, the view and scaling of the graph can be changed with
mouse buttons 1 and 2. If additionally to these buttons the modifier <ctrl> is
hold down, the coordinate system only is rotated which is useful for large
data sets. A vertical motion of Button 2 with the shift key hold down changes
the `xyplane`.
Run Code Online (Sandbox Code Playgroud)
请注意以下内容将起作用:
echo "plot sin(x); pause mouse keypress" | gnuplot -persist
Run Code Online (Sandbox Code Playgroud)
但这不会:
echo "plot sin(x)" | gnuplot -persist
Run Code Online (Sandbox Code Playgroud)
因为gnuplot进程必须处于活动状态才能使gnuplot_x11驱动程序与旋转进行通信.
归档时间: |
|
查看次数: |
6169 次 |
最近记录: |