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

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

[Octave-bug-tracker] [bug #34523] surf() with gnuplot does not handle Fa


From: Dan Sebald
Subject: [Octave-bug-tracker] [bug #34523] surf() with gnuplot does not handle FaceColor correctly
Date: Sat, 27 Jun 2015 04:14:31 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 SeaMonkey/2.15

Follow-up Comment #17, bug #34523 (project octave):

All right.  I think I have something that works with gnuplot 4.6 up to the
latest development version.  This is a pretty significant variation on the
previous patch, so some testing will be helpful.  I've changed enough with
respect to gnuplot hidden3d usage that it could break behavior somewhere else,
but I'm hoping not much.

I discarded the "borders" approach to adding mesh lines on surfaces and
instead just add another separate plot sub-command for the lines, using
hidden3d mode (with the addition of "front" and "nooffset" to the hidden3d
specification).  That improves the program flow some, in addition to achieving
the hidden line.  

However, I've found that "linestyle" attributes don't hold in gnuplot's
hidden3d mode--when they do hold in non-hidden3d mode and specifications like
"linecolor" apply in both modes.  I was a bit disappointed by that and
complained to get a fix.  On the other hand, "linetype" does work with
hidden3d mode.  But linetype holds the important line patterns for version
4.6.  So to avoid overwriting those line patterns, I introduced an offset of 8
into the linetype/style definitions.  (I.e., instead of seeing "set linestyle
1...", "set linestyle 2..." and so on in the gnuplot code, one will see "set
linestyle 9...", "set linestyle 10..." and so on.


(file #34329)
    _______________________________________________________

Additional Item Attachment:

File name: octave-gnuplot_surf_facecolor-djs2015jun26.patch Size:21 KB


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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