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: Dan Sebald
Subject: [Octave-bug-tracker] [bug #40686] Incorrect colorbar size after "axis tight" or "axis equal"
Date: Mon, 4 Feb 2019 03:53:50 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0

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

Oh, no actual gnuplot colorbox.  That sort of rings a bell.

Your logic seems correct, other than "equal" and "square" not being the same
thing in gnuplot.  I think "equal" refers to the units being equal on all
dimensions, whereas "square" means to make the plot square.  I see the use of
"equal", but you are right that there is no counterpart, i.e., "noequal".

An alternative to where you placed "nosquare", is to put the counter-part
where the "equal" is.  That is, rather than a strategy of undoing what's been
done, set the appropriate setting at the point where that property is set. 
Attached is an example, but I don't think it is 100% correct because nd == 3
restricts this to 3D plots, whereas it could be the successive plot is 2D and
hence the "equal" would still not be undone.

Anyway, look into that; you're on the right path.  There is a "equal/noequal"
and a "square/nosquare" to account for if both those settings are used.

(file #46175)
    _______________________________________________________

Additional Item Attachment:

File name: octave-undo_equal-djs2019-01-04.diff Size:0 KB
   
<https://savannah.gnu.org/file/octave-undo_equal-djs2019-01-04.diff?file_id=46175>



    _______________________________________________________

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]