octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #40686] Incorrect colorbar size after "axis ti


From: Anne Hanna
Subject: [Octave-bug-tracker] [bug #40686] Incorrect colorbar size after "axis tight" or "axis equal"
Date: Mon, 7 Jan 2019 13:31:07 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0

Follow-up Comment #7, bug #40686 (project octave):

One more possible breadcrumb that I just found, and then I am definitely going
to have to stop poking at this and defer to those more knowledgeable:

__actual_axis_position__ seems to be in charge of setting up the {rltb}margin
values, and there's a note in there (lines 58-59) that:


 ## When using {rltb}margin, Gnuplot does not handle the specified
 ## aspect ratio properly, so handle it here.


At least for the "axis tight" case, this seems to be where we're getting the
rlmargin distance halved, shrinking the graph.  Is it possible that Gnuplot
has changed (i.e., fixed) how it handles this?  I noted that if I set:


aspect_ratio_2d = [1, 1];


on line 61 instead of letting the corrective calculation happen, it does fix
the "axis tight" case without breaking the non-tight case.  It may break other
things I don't know about, but it could also be a sign that the Gnuplot issue
is actually corrected.

Anyway, if this is useful in addressing the bug, or if anyone has advice for
me on how I can explore this on my own further, please let me know.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?40686>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]