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

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

[Octave-bug-tracker] [bug #47974] Visual differences between gnuplot and


From: Dan Sebald
Subject: [Octave-bug-tracker] [bug #47974] Visual differences between gnuplot and OpenGL toolkits
Date: Thu, 2 Jun 2016 17:10:59 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:42.0) Gecko/20100101 Firefox/42.0

Follow-up Comment #52, bug #47974 (project octave):

Rik, here's a patch for the data aspect ratio (squashy-ness) of isosurface #1.
 I resisted the urge to yank all the code prior to is that uses
obj.dataaspectratio--that might lead to a bigger project.  gnuplot just
doesn't have the fine control on this that Octave is asking for--well not
easy, anyway.  Only setting the aspect ratio in xy or xyz is possible.  Try


demo isosurface
set(gca, 'dataaspectratiomode', 'auto');
set(gca, 'dataaspectratiomode', 'manual');
set(gca, 'dataaspectratio', [1 1 10]);
set(gca, 'dataaspectratio', [1 2 10]);


Well, you can see it sort of behaves as desired, but I'm not sure really.  The
issue with this originates from this line in the existing code:


    sz_str = sprintf ("set size %s %g, %g;\n", sz_str, pos(3:4));


So, even if I could fine tune sizing (and I'm not 100% sure on that), it
should probably wait until after


  pos = __actual_axis_position__ (h);


is cleared up with Ben.  In the mean time, what I attached might be a
temporary fix.

The border will have to be in another patch.  Border is another bit tricky
coding because I'm not quite sure where the annotated axes exist for a
particular view so the borders to remove may vary.


(file #37358)
    _______________________________________________________

Additional Item Attachment:

File name: octave-gnuplot_aspect_ratio-djs2016jun02.patch Size:3 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?47974>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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