bugGNU Octave - Bugs: bug #45504, incompatibile interaction subplot...

 
 

bug #45504: incompatibile interaction subplot & axes

Submitted by:  None
Submitted on:  Thu 09 Jul 2015 05:42:37 PM UTC  
 
Category: PlottingSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: InvalidAssigned to: None
Originator Name: Clinton WinantOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 3.8.1
Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 13 Dec 2017 05:25:37 PM UTC, comment #3:

This isn't how the subplot command works. The subplot command creates axes on an existing figure. If you want to reposition the subplots you should change the "position" property of the individual axes. In this case, if you are really trying to create 4 different plots then you need to use

Closing report.

Rik <rik5>
Project Administrator
Thu 29 Dec 2016 10:13:01 PM UTC, comment #2:

This behavior is still present in Octave 4.2.0.

The plot produced by the script in comment #0 still ignores the axis("position") command. Only two subplots are displayed in the final figure window.

This issue also appears with graphics_toolkit qt, not only with gnuplot. The bug report tags should be corrected accordingly.

Hartmut <hardy>
Fri 10 Jul 2015 05:43:39 AM UTC, comment #1:

Is this gnuplot only? Qt graphics toolkit seems to behave the same way. In both cases, entering

axes('position',[0.04,0.05,0.45,0.45]);

after the plots are drawn adds an axes in the lower left corner. In fact, if one watches closely, they'll see the smaller axes drawn first and then the typical subplot format/dimensions on top of that. What is your assessment?

In addition, I would point out that the gnuplot toolkit appears to not recognize the dash pattern. However, I may have fixed that as part of this changeset

https://savannah.gnu.org/bugs/?34523

where I used gnuplot's recently added "dashtype" option for linestyles.

Dan Sebald <sebald>
Thu 09 Jul 2015 05:42:37 PM UTC, original submission:

Using subplot within a frame defined by (axes('Position',[...]) leads to ignoring the axes command, as shown in the following code

commenting out the subplot calls restores the axes call.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by hardy (Posted a comment)
  • -unavailable- added by sebald (Posted a comment)
  • -unavailable- added by None (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 13 Dec 2017 05:25:37 PM UTCrik5CategoryPlotting with gnuplot=>Plotting
      StatusNone=>Invalid
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1