22

我在 Windows 下使用 Octave 和 gnuplot。

我可以使用鼠标右键放大。但是如何从 UI 中缩小呢?

4

2 回答 2

42

在 Nabble 上找到了这篇文章。按p将您带到上一个缩放级别,n到下一个级别,然后u取消缩放。我按下h了 Octave 之外的 gnuplot 窗口,得到了这个命令列表:

2x<B1>             print coordinates to clipboard using `clipboardformat`
                   (see keys '3', '4')
<B2>               annotate the graph using `mouseformat` (see keys '1', '2')
                   or draw labels if `set mouse labels is on`
<Ctrl-B2>          remove label close to pointer if `set mouse labels` is on
<B3>               mark zoom region (only for 2d-plots and maps).
<B1-Motion>        change view (rotation). Use <ctrl> to rotate the axes only.
<B2-Motion>        change view (scaling). Use <ctrl> to scale the axes only.
<Shift-B2-Motion>  vertical motion -- change xyplane

Space              raise gnuplot console window
q                  * close this plot window

a                  `builtin-autoscale` (set autoscale keepfix; replot)
b                  `builtin-toggle-border`
e                  `builtin-replot`
g                  `builtin-toggle-grid`
h                  `builtin-help`
l                  `builtin-toggle-log` y logscale for plots, z and cb for splots
L                  `builtin-nearest-log` toggle logscale of axis nearest cursor
m                  `builtin-toggle-mouse`
r                  `builtin-toggle-ruler`
1                  `builtin-decrement-mousemode`
2                  `builtin-increment-mousemode`
3                  `builtin-decrement-clipboardmode`
4                  `builtin-increment-clipboardmode`
5                  `builtin-toggle-polardistance`
6                  `builtin-toggle-verbose`
7                  `builtin-toggle-ratio`
n                  `builtin-zoom-next` go to next zoom in the zoom stack
p                  `builtin-zoom-previous` go to previous zoom in the zoom stack
u                  `builtin-unzoom`
Right              `builtin-rotate-right` only for splots; <shift> increases amount
Up                 `builtin-rotate-up` only for splots; <shift> increases amount
Left               `builtin-rotate-left` only for splots; <shift> increases amount
Down               `builtin-rotate-down` only for splots; <shift> increases amount
Escape             `builtin-cancel-zoom` cancel zoom region

                   * indicates this key is active from all plot windows
于 2010-11-02T18:14:24.263 回答
0

https://www.gnu.org/software/octave/doc/v4.0.1/Introduction-to-Plotting.html

我使用 graphics_toolkit ("fltk") 来缩放在 linux 上运行的 octave 的绘图。

于 2016-07-26T09:20:43.323 回答