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, 26 May 2016 01:45:10 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:42.0) Gecko/20100101 Firefox/42.0

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

I'll take a look at that squashed elliptoid next.  At the moment I've been
looking at the axes position issue that I see several times in the demos.  In
particular

scripts/plot/appearance/annotation.m example 2:

This is the demo which plots a red, green and blue dashed box illustrating
where the boundary for the canvas, axes and title area or...or something like
that.

Ben just wrote something about margins and that's the issue in this case here.
 We should probably get this straight first.  And the last patch we applied
may have altered this plot for Qt toolkit in an undesirable way.  Let me try
to characterize this one a bit and write back.  I think this will go to Ben
eventually because he wrote the __actual_axis_position__() script and know
that best.

All I can say right now is that the position of the axis is not coming from
Octave, but I thought some time ago that Octave had taken control of that
layout.  That is, this code in __gnuplot_draw_axes__:


  else ## activepositionproperty == outerposition
    fprintf (plot_stream, "unset tmargin;n");
    fprintf (plot_stream, "unset bmargin;n");
    fprintf (plot_stream, "unset lmargin;n");
    fprintf (plot_stream, "unset rmargin;n");


is what is executed, leaving the axes layout up to gnuplot.  Instead, it
should be going the route of set the margins to specific values in the screen
coordinates.  I'll write more later...

    _______________________________________________________

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]