1
2plplot_octave FGA (frequently given answers):
3
4
5--Make sure that you have octave-2.0.16 or latter, matwrap and perl.
6Make sure that you have a correctly installed octave, configured with
7--enable-shared and --enable-dl. The command
8
9	ldd `which octave`
10
11should report octave dynamic libs, liboctave.so, libcruft.so and
12liboctinterp.so
13
14--If you have problems, please try first to see if you can sucessefully
15compile and run the oregonator.cc and hello.cc files in the examples
16directory of the Octave distribution. If they don't run, fix first
17octave (configure with above options and reinstall).
18
19--If you have a problem with the Tk demos in the plplot distribution,
20probably your Xserver is not secure. Use 'xauth' or rebuild tk without
21security. But you don't need Tk (although useful); the default is to
22use the Xwindows driver.
23
24--The demos in the plplot_octave distribution should be run in the
25extracted directory from plplot_octave, as there are needed script files
26in directories misc, demos and PLplot. To run the plplot_octave demos,
27you must provide a LOADPATH that start at the current directory; being
28there.
29
30--There are problems with `semilogy, semilogx and loglog',
31
32-- there are no such thing as 'replot'. The equivalent, 'plreplot', does
33not do what you want. Also, 'title', 'xlabel' and 'ylabel' must be given
34*before* the plot command. The general idea is that plot attributes should
35be set before plotting the data.
36
37--In hold mode, the first plot defines the viewport, so further plots
38don't rescale the axis.
39
40--check that plplot_octave.oct find its shared libs, in case you have
41build plplot with shared libs. Try 'ldd ./plplot_octave.oct' and you will
42see either a list of needed and founded shared libs, or an error. In
43this case, you can specify where to find them using LD_LIBRARY_PATH or
44LD_RUN_PATH, or still recompiling plplot_octave.oct with the `-r' flag
45to gcc (this might vary with the OS).
46
47--The xwin driver does not respond to deiconify/resize events. This is
48a well know misfeature of plplot.
49
50--The xwin driver does not handle exposure events. If your plot window
51becomes obscured by other window, then, when you bring it to the front,
52(part) of your plot has vanished. Use 'plreplot' to refresh it. If you
53are using XFree, at least in version 3.3.3 you can start the Xserver
54with the '-wm' option; it will save obscured windows and you don't need
55to issue 'plreplot'. Also, the AfterStep window manager has an option
56for the same, I think that it is the `SaveUnders' one:
57	# Miscellaneous voodoo commands - they may help you, they may not
58	AppsBackingStore
59	BackingStore
60	SaveUnders
61
62Please keep reporting problems and how you solve them,
63
64Thanks,
65
66Joao
67
68