[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Can't "position" subplot
From: |
Thomas Detman |
Subject: |
Re: Can't "position" subplot |
Date: |
Sat, 05 Dec 2009 19:30:36 -0800 |
User-agent: |
Thunderbird 2.0.0.23 (X11/20090817) |
Thanks. It took some effort, but I got Octave 3.2.3 working.
I was very impressed with the plotting improvements, especially the
"interpreter" property for text objects, e.g. "tex". Also, the
set ... "position" now works, mostly. HOWEVER:
I got a multipanel plot looking just right on screen, and then used:
print -color -landscape "Cass-t17-Ep103b.ps"
Unfortunately the resulting ps file has some problems:
o The axis positions changed from what I specified and appeared on screen.
o In plot image is seriously shrunken from what Octave 3.0.0 produced; it leaves
a lot of white space around the plot on the printed page.
o So I tried png, gif, and jpg formats - they all failed to print any of the
text objects.
o Also, I had trouble with some tex directives, e.g.:
ylabel ("B_{\phi} (nT)","interpreter","tex");
just didn't work. Did I do something wrong, or miss something.
Any suggestions?
Great progress! But keep going.
John W. Eaton wrote:
On 2-Dec-2009, Thomas Detman wrote:
| I've been using subplot to "stack" multiple time-series plots in one figure, but
| I am not satisfied with the default behavior. The documentation seems to imply
| that the following should work:
| ax = gca ()
| set (ax, "position", [X0,Y0,deltaX,deltaY]) # with [X0,Y0,deltaX,deltaY]
| previously defined. See 15.2.2.3 Axes Properties. However, this makes no
| visible change to the plot. On the other hand it does change the output of:
| get (ax, "position")
| It says it did what I asked; but it didn't. It's either delusional or passive
| resistant ;), or I'm missing something.
|
| Specifically, I want to make both the right and left ends of the axes in two or
| more subplots vertically aligned; I want to reduce or eliminate the vertical gap
| between subplots (suppressing the tick labels on all but the bottom subplot).
|
| Environment:
| GNU Octave, version 3.0.0
| Ubuntu 8.04
| octave:2> gnuplot_binary ()
| ans = gnuplot
It seems to work correctly for me with the current stable version of
Octave, 3.2.3. I recommend upgrading.
jwe