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

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

[Octave-bug-tracker] [bug #48427] legend objects in gnuplot


From: Dan Sebald
Subject: [Octave-bug-tracker] [bug #48427] legend objects in gnuplot
Date: Fri, 8 Jul 2016 19:30:50 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:42.0) Gecko/20100101 Firefox/42.0

Follow-up Comment #9, bug #48427 (project octave):

Attached is a very limited method for generating what looks like a key sample
for surfaces and patches.  It creates a phantom line having the desired color
of the surface/patch key sample and makes the linewidth 11, roughly matching
gnuplot key rectangular patch sample.

The color is a poor approximation to what is desired, but it is the best that
can be done with the current state of gnuplot.  gnuplot can do limited
interpolation, but not for key samples.  As for the interpolated color in the
pyramid example, I'd rather spend such time on gnuplot creating a true hidden
surface algorithm so that the pyramid comes out correct.  Anyway...

Try the following commands:


demo("legend", 18)
demo("patch", 7)
legend("pyramid power")



(file #37777)
    _______________________________________________________

Additional Item Attachment:

File name: octave-gnuplot_legend_phantom_line_bug48427-djs2016jul08.patch
Size:5 KB


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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