Initial release of Maemo 5 port of gnuplot
[gnuplot] / src / os2 / gnupmdrv.ipf
1 :userdoc.
2 :docprof toc=12.
3
4 :h1 res=5. This program
5 :p.This program is a display interface for Gnuplot.
6 :p.When it starts up, it spawns a new session which contains 
7 the :hp2.GNUPLOT:ehp2. program. This new session provides the usual
8 Gnuplot command line.
9
10 :h1 res=100. Options Menu Help
11 :i1 id=mopt. Options menu
12 :i2 refid=mopt. The options menu
13 :p.The :hp2.Options:ehp2. menu enables you to change various options on the
14 displayed plot, and to control printing of the plot via the OS/2 print
15 system.
16
17 :h2 res=104. Fonts
18 :i2 refid=mopt. Fonts 
19 :p.The :hp2.Fonts:ehp2. menu item from the :hp2.Options:ehp2.
20 pulldown menu enables you to change the font used in the displayed plot. 
21 :p.You can also 'drag and drop' a font from a Font Palette onto the Gnushell
22 window.
23
24 :h2 res=101. Print
25 :i2 refid=mopt. Print
26 :p.The :hp2.Print:ehp2. menu item from the :hp2.Options:ehp2.
27 pulldown menu enables you to print the current window on the default
28 printer.
29
30 :h2 res=115. Printers
31 :i2 refid=mopt. Printers
32 :p.The :hp2.Printers:ehp2. menu item from the :hp2.Options:ehp2.
33 pulldown menu enables you to select the printer to which
34 output is directed.
35
36 :h2 res=207. Linetype option
37 :i2 refid=mopt. Linetype option
38 :p.Selecting the :hp2.Lines:ehp2. menu item from the :hp2.Options:ehp2.
39 enables you to choose various options for the lines used for the plots.
40 :p.Selecting the :hp2.Thick:ehp2. option of the :hp2.Lines:ehp2.
41 menu item toggles the :hp2.thick line:ehp2. option on and off.
42 The selection is active if the menu item is checked.
43 :p.Selecting the :hp2.Solid:ehp2. option of the :hp2.Lines:ehp2.
44 menu item toggles the :hp2.solid line:ehp2. option on and off.
45 The selection is active if the menu item is checked.
46 :p.If the :hp2.Solid:ehp2. option is not active, curves on graphs will be
47 plotted in various styles of broken lines. 
48
49 :h2 res=208. Thick line option
50 :i2 refid=mopt. Thick line option
51 :p.Selecting the :hp2.Thick:ehp2. option of the :hp2.Lines:ehp2.
52 menu item toggles the :hp2.thick line:ehp2. option on and off.
53 The selection is active if the menu item is checked.
54 :p.The thick line option can give better output on high-resolution
55 devices like laser printers.
56
57 :h2 res=209. Solid lines option
58 :i2 refid=mopt. Solid lines option
59 :p.Selecting the :hp2.Solid:ehp2. option of the :hp2.Lines:ehp2.
60 menu item toggles the :hp2.solid line:ehp2. option on and off.
61 The selection is active if the menu item is checked.
62 :p.If the :hp2.Solid:ehp2. option is not active, curves on graphs will be
63 plotted in various styles of broken lines. 
64 :p.This option can be combined with the :hp2.Colours.:ehp2. option. 
65 When a plot is printed on a printer that does not support colour, the 
66 :hp2.Solid:ehp2. option is disabled.
67
68 :h2 res=206. Colours
69 :i2 refid=mopt. Colours
70 :p.Selecting the :hp2.Colours:ehp2. menu item from the :hp2.Options:ehp2.
71 pulldown menu causes lines used for graphs to be plotted in various
72 colours. This is the default option for plotting on the screen.
73 It can be combined with the :hp2.Lines:ehp2. option. 
74
75 :h2 res=120. Pause option
76 :i2 refid=mopt. Pause option
77 :p.Selecting the :hp2.Pause mode:ehp2. menu item from the :hp2.Options:ehp2.
78 menu enables you to choose how the Gnuplot 'pause' command is handled.
79 :p.Selecting the :hp2.Dialog box:ehp2. menu item from the :hp2.Pause options:ehp2.
80 menu causes the Gnuplot 'pause' command to print a message in a dialog box,
81 and wait for you to end the dialog before continuing.
82
83 :h2 res=121. Pause with dialog box
84 :i2 refid=mopt. Pause with dialog box
85 :p.Selecting the :hp2.Dialog box:ehp2. menu item from the :hp2.Pause options:ehp2.
86 menu causes the Gnuplot 'pause' command to print a message in a dialog box,
87 and wait for you to end the dialog before continuing.
88 :p.Selecting the :hp2.Menu bar:ehp2. menu item from the :hp2.Pause options:ehp2.
89 menu causes the Gnuplot 'pause' command to enable the :hp2.Continue:ehp2.
90 menu item. 
91 :p.Selecting the :hp2.Gnuplot:ehp2. menu item from the :hp2.Pause options:ehp2.
92 menu causes the Gnuplot 'pause' command to be handled by the Gnuplot
93 program.
94
95 :h2 res=122. Pause with menu item
96 :i2 refid=mopt. Pause with menu item
97 :p.Selecting the :hp2.Menu bar:ehp2. menu item from the :hp2.Pause options:ehp2.
98 menu causes the Gnuplot 'pause' command to enable the :hp2.Continue:ehp2.
99 menu item. 
100 :p.Plotting will be resumed when this item is selected.
101 :p.Any text message is ignored.
102
103 :h2 res=123. Pause in Gnuplot
104 :i2 refid=mopt. Pause in Gnuplot
105 :p.Selecting the :hp2.Gnuplot:ehp2. menu item from the :hp2.Pause options:ehp2.
106 menu causes the Gnuplot 'pause' command to be handled by the Gnuplot
107 program.
108 :p.In order to resume plotting, you will have to select the Gnuplot command line
109 window, and press the enter key.
110  
111 :h2 res=210. Pop to front
112 :i2 refid=mopt. Pop to front
113 :p.Selecting the :hp2.Pop to front:ehp2. menu item from the :hp2.Options:ehp2.
114 pulldown menu causes the plot window to pop to the front of the
115 window stack each time a graph is plotted. If this item is unchecked,
116 the user will have to bring the window to the front by manual selection.
117
118 :h2 res=211. Keep aspect ratio
119 :i2 refid=mopt. Keep aspect ratio
120 :p.If this menu is checked, then the sides of the plot keep the aspect ratio 
121 of 1.56 thus filling only partially the plotting window. 
122 If it is unchecked, then the plot occupies the whole window.
123
124 :h2 res=105. Save settings
125 :i2 refid=mopt. gnupmdrv.ini
126 :i2 refid=mopt. Save settings
127 :p.Selecting the :hp2.Save settings:ehp2. menu item from the :hp2.Options:ehp2.
128 pulldown menu causes the current line, colour and font options to be saved.
129 The positions and sizes of the windows are also saved.
130 :p.The data is saved in the file :hp2.gnupmdrv.ini:ehp2. file in the 
131 program&csq.s working directory. You can delete the file if you want to restore
132 all settings to their default values. (This file is created even if
133 no settings are saved.) 
134
135
136 :h1 res=500. Edit Menu Help
137 :i1 id=medit. Edit menu
138 :i2 refid=medit. The Edit menu
139 :p.The :hp2.Edit:ehp2. menu gives you access to commands 
140 for copying the plot to the clipboard.
141
142 :h2 res=501. Copy to clipboard
143 :i2 refid=medit. Copy to clipboard
144 :p.Selecting the :hp2.Copy:ehp2. menu item from the :hp2.Edit:ehp2.
145 pulldown menu causes the current plot to be copied to the system
146 clipboard. The plot is copied in bitmap and in metafile format.
147
148 :h2 res=504. Clear clipboard
149 :i2 refid=medit. Clear clipboard
150 :p.Selecting the :hp2.Clear clipboard:ehp2. menu item from 
151 the :hp2.Edit:ehp2.pulldown menu causes the clipboard to be cleared.
152
153 :h1 res=300. Gnuplot Menu Help
154 :i1 id=mgnu. Gnuplot menu
155 :i2 refid=mgnu. Moving to GNUPLOT window
156 :p.Selecting the :hp2.Gnuplot:ehp2. menu item causes the GNUPLOT
157 command window to be brought to the foreground. The same result can be be
158 obtained by pressing the ESC key when the Gnushell window is active.
159
160 :h1 res=600. Mouse Menu Help
161 :i1 id=mmouse. Mouse menu
162 :i2 refid=mmouse. The Mouse menu
163 :p.The :hp2.Mouse:ehp2. menu gives you access to mouse (pointer)-related 
164 functions. Recently the mouse code has been rearranged so that many hotkeys 
165 and other actions are configurable in gnuplot itself; see 'help mouse' and
166 'help bind'. Help on current mouse configuration is available via hotkey 'h'.
167 Consequently, the behaviour of the submenu items may be changed according 
168 to gnuplot or user settings. Menu items showing two hotkeys: the first one 
169 is user-configurable (so it may not corresponding to the actual settings), 
170 the other is fixed (has precedence over user settings). 
171 :p.Note that the new mouse style adds formats 'format', 'clipboardformat' and
172 'mouseformat' which are not well cared about in the menu; I mean that menu 
173 items 'Coordinates' and 'Coords. format' are out of date now (no more 
174 pixels, for instance). You are welcome to update this if you have time.
175
176 :h2 res=601. Use mouse
177 :i2 refid=mmouse. Use mouse
178 :p.Checking this menu item enables the mouse (pointer device) functionality:
179 tracing the position over graph, zooming, annotating graph etc. for 2d graphs
180 and for maps (i.e. `set view` with z-rotation 0,90,180,270 or 360 degrees).
181 Mousing is not available in multiplot mode. 
182 Except for the functions available from the menu, 
183 mouse buttons have the following functions:
184 :p.:hp2.MB2:ehp2. starts zooming. Press :hp2.MB1:ehp2. to force 
185 zoom, or :hp2.Esc:ehp2. to cancel zooming. Zooming can be canceled if 
186 <Esc> is pressed or at least one of the chosen sizes is smaller than 8 pixels.
187
188 This driver keeps the list of zoomed ranges. You can browse through it via 
189 :hp2.Unzoom all:ehp2., :hp2.Unzoom back:ehp2. and :hp2.Zoom next:ehp2..
190
191 :p.:hp2.Double click of MB1:ehp2. writes the current pointer position to
192 clipbord according to the format chosen in :hp2.sprintf format:ehp2. menu.
193 :p.:hp2.MB3:ehp2. annotates temporarily the graph.
194
195 :h2 res=602. Mouse coordinates
196 :i2 refid=mmouse. Coordinates
197 :p.Choose the coordinates which are used for showing the mouse position, 
198 clipboard copy and annotation. 
199 :p.:hp2.Real coordinates:ehp2. are coordinates of x and y axes of the current 
200 graph.
201 :p.:hp2.Screen coordinates:ehp2. are relative coordinates of the screen, 
202 i.e. [0,0]..[1,1]. These may be used in gnuplot commands like 
203 :hp2.set label "ahoj" at screen 0.85,0.85:ehp2.
204 :p.:hp2.Pixel coordinates:ehp2. are the coordinates of the window depending 
205 on the screen resolution. They determine the precision of the other 
206 coordinates.
207 :p.:hp2.x time / date:ehp2. coordinate is useful when the coordinate on the x axis
208 is time or date. 
209
210 :h2 res=605. By mouse...
211 :i2 refid=mmouse. By mouse: zoom
212 :p.Well, subitems of this do nothing just remember you which mouse button 
213 combinations to use for putting the current position to the clipboard, for 
214 zooming or temporarily annotating the graph. 
215
216 :h2 res=603. Coordinates format
217 :i2 refid=mmouse. Coordinates format
218 :p.Choose here the format for writing the cursor position into clipboard
219 (via double click of MB1).
220
221 :h2 res=606. Unzoom and zoom history
222 :i2 refid=mmouse. Unzoom and zoom
223 :p.These choises lets you browse through the list of zooms.
224
225 :h2 res=607. Ruler
226 :i2 refid=mmouse. Ruler
227 :p.Disables the ruler if it is already on.
228 :p.If the ruler has been off, then show it at the current pointer position. 
229 For every mouse movement, print the ruler position aside of the current 
230 pointer position, and show their distance (for linear scale) or ratio 
231 (for log scale), and optionally the :link reftype=hd res=604.polar distance:elink..
232
233 :h2 res=604. Polar distance
234 :i2 refid=mmouse. Polar distance
235 :p.If this menu item is checked, then the distance between the ruler and 
236 mouse cursor is printed also in polar coordinates. This is particularly 
237 useful for dealing with peaks or other objects in maps. Disabled if x or y
238 axis is logarithmic. 
239
240 :h1 res=700. Utilities Menu Help
241 :i1 id=mutils. Utilities menu
242 :i2 refid=mutils. The Utilities menu
243 :p.The :hp2.Utilities:ehp2. menu gives you access to miscellaneous functions, 
244 mostly those which communicate with gnuplot.
245
246 :h2 res=701. Break drawing
247 :i2 refid=mutils. Break drawing
248 :p.This menu item, or the hotkey Ctrl-C, lets you break long unwanted drawing
249 immediately. 
250
251 :h2 res=702. Grid on/off
252 :i2 refid=mutils. Grid on/off
253 :p.Switches quickly on or off grid of the graph. Equivalent to the commands 
254 :p.:hp2.set mxtics 2; set mytics 2; set grid; replot:ehp2.
255 :p.or 
256 :p.:hp2.set nogrid; replot:ehp2.
257 :p.respectively, typed in the gnuplot window. 
258
259 :h2 res=703. Lin/log y axis
260 :i2 refid=mutils. Lin/log y axis
261 :p.Switches quickly between linear and logarithmic y axis. 
262 Equivalent to commands :hp2.set log y; replot:ehp2. or 
263 :hp2.set nolog y; replot:ehp2., respectively.
264
265 :h2 res=704. Set
266 :i2 refid=mutils. Set
267 :p.Switches miscellaneous :hp2.set:ehp2. properties. For example, 
268 :hp2.set data style dots; replot:ehp2..
269
270 :h2 res=710. Autoscale
271 :i2 refid=mutils. Autoscale
272 :p.Switches autoscale of x and y axes. Equivalent to
273 :p.:hp2.set autoscale; replot:ehp2.
274
275 :h2 res=711. Replot
276 :i2 refid=mutils. Replot
277 :p.Replots the graph by sending the :hp2.replot:ehp2. command.
278
279 :h2 res=712. Reload
280 :i2 refid=mutils. Reload
281 :p.Reloads a file, i.e it issues :hp2.history !load:ehp2.
282
283 :h2 res=715. Command
284 :i2 refid=mutils. Command
285 :p.This enables you to send any command to gnuplot from within this 
286 display driver. This is particularly useful when the gnuplot command line 
287 is not available (an application sends commands and data to gnuplot via 
288 pipe, for instance).
289
290 :h2 res=716. Commands to clipboard
291 :i2 refid=mutils. Commands to clipboard
292 :p.If this option is switched on, then all commands sent to gnuplot will be 
293 copied into clipboard. This can be useful for tracing the executed commands 
294 from mouse/hotkey actions, or for displaying x and y ranges during zoom, 
295 for instance. You may use your favourite clipboard viewer to look at the 
296 clipboard contents.
297
298
299 :h1 res=400. Continue Menu Help
300 :i1 id=mcont. Continue menu
301 :i2 refid=mcont. Continue plotting
302 :p.Selecting the :hp2.Continue:ehp2. menu item causes plotting
303 to resume after a pause command is received from Gnuplot.
304  
305
306 :h1 res=103. Help Menu Help
307 :i1 id=mabout. Help menu
308 :p.gnupmdrv help or gnuplot documentation can be accessed from this menu.
309
310 :h2 res=197. Help index
311 :p.Use :hp2.Help index:ehp2. to browse through the help for this display driver.
312
313 :h2 res=198. Gnuplot docs
314 :p.Use :hp2.Gnuplot docs:ehp2. to read the gnuplot documentation.
315
316 :h2 res=199.  About
317 :i2 refid=mabout. About 
318 :p.The :hp2.About:ehp2. menu item displays the About box, which
319 just identifies the program.
320
321
322 :h1 res=5000. Printer setup dialog box help
323 :i1 id=qprint. Printing
324 :i2 refid=qprint. Printer setup
325 :p.This dialog box enables you to setup the printer.
326 :p.The printer that output will be sent to is indicated in the 
327 :hp2.Current printer:ehp2. field. You can select a different
328 printer by using the :hp2.Printers:ehp2. item of the :hp2.Options:ehp2.
329 menu.
330 :p.The setup can be selected by clicking on the :hp2.OK:ehp2. button.
331 :p.The setup can be cancelled by selecting :hp2.Cancel:ehp2. .
332 :p.If your printer driver supports printing to a file, the
333 :hp2.Print to file named:ehp2. field will not be greyed out. In this case,
334 you may enter a filename here for sending output to a file rather than to 
335 a printer. Some printer drivers also support this option from the
336 printer setup dialog box accessible with the :hp2.Set printer:ehp2.
337 option. You may choose either method. Some printer drivers (e.g. Postscript)
338 will not overwrite a file if you use the second method.
339 :p.The area of the page in which the plot will be displayed is
340 indicated. You can change this by selecting the :hp2.Set Page:ehp2. button.
341 You can then adjust the area with the mouse, and click on button 1
342 to select the new area. Another way of doing this is by typing
343 the appropriate data into the entry windows which give the size of the
344 plot area, either in centimeters or relative to the page size. 
345 :p.If you wish to adjust the default behaviour of the printer,
346 choose the :hp2.Job properties:ehp2. option. This will bring up your
347 printer setup dialog box. This is part of the printer driver, and the 
348 features you can adjust will depend on your printer. You can generally
349 use this to swich between landscape and portrait mode, for instance.
350 Note that some drivers might not have any options.
351  
352 :h1 res=2000. Printer selection dialog box help
353 :i2 refid=qprint. Printer selection
354 :p.This dialog box enables you to select the printer on which
355 your output will appear.
356 :p.Choose a printer from the displayed list. The chosen printer
357 is highlighted.
358 :p.The printer is selected by clicking on the :hp2.OK:ehp2. button.
359 :p.The new selection is ignored by selecting :hp2.Cancel:ehp2. .
360
361 :h1 res=3000. Pause dialog box help
362 :i1 id=pausebox. Pause
363 :p.This dialog box is (optionally) displayed when a 
364 'pause -1 <text>' command is issued to Gnuplot.
365 Plotting is paused until you:
366 :p.Select :hp2.Continue:ehp2. to resume plotting.
367 :p.Select :hp2.Cancel:ehp2. to cancel plotting and return to the Gnuplot
368 command line.
369
370 :h1 res=6000. Fonts dialog box help
371 :i1 id=fonts. Font selection
372 :p.This dialog box enables you to change the font used on the displayed plot.
373 :p.The font is selected by clicking on the :hp2.OK:ehp2. button.
374 :p.The new selection is ignored by selecting :hp2.Cancel:ehp2. .
375 :p.Choose a font from the displayed list. The chosen font
376 is previwed in the :hp2.Example:ehp2. window.
377 :euserdoc.