Fri 08 Nov 2013 04:05:42 PM UTC, comment #8:
sorry. I had an old private subplot function lying around.
|
Fri 08 Nov 2013 02:55:21 PM UTC, comment #7:
Just checked and it still works for me. This is on a Linux system with FLTK-1.3.0. Have you tried cloning from the Mercurial repository to a new directory and building from this fresh tree? It is possible that your system has built up cruft.
I tried the other examples in this bug report and they also still work for me.
|
Fri 08 Nov 2013 09:00:50 AM UTC, comment #6:
With that change included the original example still doesn't work for me.
I am at changeset: 17882:cf3f828f401c
|
Wed 06 Nov 2013 07:16:00 PM UTC, comment #5:
Should be fixed in this changeset (http://hg.savannah.gnu.org/hgweb/octave/rev/93edd282a2bc). It will make it in to the 3.8 release.
|
Wed 06 Nov 2013 01:29:12 AM UTC, comment #4:
subplot('position', [0.100 0.100 0.800 0.800]);
subplot('position', [0.300 0.300 0.200 0.200]);
If this produces two axes, then at least I know how to proceed.
Not sure what you mean by 2 axes? 2subplots?
If so, the answer is no.
2 jpg's are attached:
subplot3.jpg is after first call
subplot4.jpg is after second call
(file #29544, file #29545)
|
Tue 05 Nov 2013 11:35:49 PM UTC, comment #3:
Interesting, does Matlab not bother to check whether plots overlap?
How about this code?
If this produces two axes, then at least I know how to proceed.
|
Tue 05 Nov 2013 09:42:09 PM UTC, comment #2:
First case: 2 subplots (0-1)
>> h1 = subplot('position', [0.100 0.525 0.800 0.375]);
>> get (h1, 'outerposition')
ans =
-0.1105 0.4313 1.0526 0.5208
>> h2 = subplot('position', [0.100 0.100 0.800 0.375]);
>> get (h2, 'outerposition')
ans =
-0.1105 0.0063 1.0526 0.5208
>>
===================
Second case:
>> close
>> subplot('position', [0.100 0.525 0.800 0.375]);
>> subplot('position', [0.100 0.100 0.800 0.424]);
>>
2 subplots are drawn, but they overlap in the middle
of the y-axis, so they do not look usable.
subplot2.jpg is attached
(file #29543)
|
Tue 05 Nov 2013 09:31:01 PM UTC, comment #1:
I have a fix for this, but I'd like a bit more information. Can you try the following in Matlab?
And also
In the second case, does the first axis disappear?
|
Tue 05 Nov 2013 12:29:30 PM UTC, original submission:
This may be related to bug 39874.
Doing
one gets just one plot. In ML as well as with gnuplot there are two.
|