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

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

[Octave-bug-tracker] [bug #47315] print with legend will print legend on


From: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #47315] print with legend will print legend only
Date: Wed, 02 Mar 2016 08:22:58 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:44.0) Gecko/20100101 Firefox/44.0

Follow-up Comment #3, bug #47315 (project octave):

@Rik: I think you could try something like this pseudo code:


// In draw_axes ()
gl2psBeginViewport (...);
...
gl2psEndViewport ();
GLint *opts;
gl2psGetOptions (opts);
// Don't draw background for subsequent viewports
opts = (opts | GL2PS_DRAW_BACKGROUND) ^ GL2PS_DRAW_BACKGROUND;
gl2psSetOptions (opts);



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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