(
Jump to the original submission)
Mon 17 Sep 2012 10:41:44 PM UTC, comment #9:
Good, problem solved. I'll close this report now.
|
Mon 17 Sep 2012 05:35:05 PM UTC, comment #8:
Thanks, Rik, that would be my problem. I found the following line in my config file from trying to fix a problem with eps export several releases ago:
set(0, "defaultaxesposition", [0.14, 0.16, 0.8, 0.73])
Commenting out this line fixed the problem.
|
Mon 17 Sep 2012 05:29:03 PM UTC, comment #7:
It seems the same problem persists with fltk. Here are screenshots after each command.
octave:1> graphics_toolkit fltk
octave:2> subplot(1,2,1)
http://www.enlightenment.org/ss/e-50575d217306d1.24690976.jpg
octave:3> plot([1 2 3])
http://www.enlightenment.org/ss/e-50575d8f1c1ae3.50394697.jpg
|
Mon 17 Sep 2012 05:28:14 PM UTC, comment #6:
I can't reproduce this either. I tried with gnuplot and fltk on versions 3.2.4 and versions 3.6.3. Everything worked correctly.
Since it appears to happen only on a single machine there may be something odd with that particular setup. You might try starting with 'octave --norc' so that no user or system initialization files are read and repeat the tests.
|
Mon 17 Sep 2012 02:34:13 PM UTC, comment #5:
The current behavior, using fltk, works as expected.
I use subplots often and they work correctly.
There may be a problem with gnuplot.
|
Mon 17 Sep 2012 02:31:35 PM UTC, comment #4:
When I tried this in Octave I was
using fltk. It behaves like Matlab.
|
Mon 17 Sep 2012 01:58:19 PM UTC, comment #3:
I can't reproduce this behaviour. Can you attempt with fltk? Do "graphics_toolkit fltk" before your plotting commands.
|
Mon 17 Sep 2012 01:46:43 PM UTC, comment #2:
This is not how all other versions of Octave behave. On my other computer, administering the two commands above on Octave 3.2 gives the expected behavior: http://www.enlightenment.org/ss/e-505728cf5cf069.74895551.jpg
This is compared to the behavior I am experiencing: http://www.enlightenment.org/ss/e-50568c6f0457f9.20223966.jpg
I don't have access to Matlab, however I am assuming it doesn't function this way, seeing as that would make it impossible to create subplots.
|
Mon 17 Sep 2012 12:23:20 PM UTC, comment #1:
This is also how Matlab behaves. (Matlab R2009b).
Is there a behavior different from this that you
would prefer? If so, why?
|
Mon 17 Sep 2012 02:43:17 AM UTC, original submission:
I haven't been able to reproduce this on any machines other than my own, however I'm assuming I can't be the only one experiencing this issue.
When I open octave and type "a = subplot(1,2,1)", I get the first part of a subplot, as one would expect (http://www.enlightenment.org/ss/e-50568c4c348367.30407893.jpg). However, when I type "b = plot([1 2 3])" after this, it completely erases the subplot window and redraws the plot so that it takes up the entire figure, as though the subplot command was not issued (http://www.enlightenment.org/ss/e-50568c6f0457f9.20223966.jpg).
I have attached the results of the commands "get(a)" and "get(b)" if that would be helpful.
I'm running *buntu 12.04.1, and can reproduce this on my own computer with both Octave 3.2 and Octave 3.6.1.
|
(Note: upload size limit is set to 16384 kB, after insertion of the required
escape characters.)
Attach File(s):
Comment:
Depends on the following items: None found
Items that depend on this one: None found
Follow 4 latest changes.