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

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

[Octave-bug-tracker] [bug #42838] gnuplot 5.0 print gives black plots


From: Ben Abbott
Subject: [Octave-bug-tracker] [bug #42838] gnuplot 5.0 print gives black plots
Date: Sun, 21 Jun 2015 14:25:40 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3) AppleWebKit/600.6.3 (KHTML, like Gecko) Version/8.0.6 Safari/600.6.3

Follow-up Comment #22, bug #42838 (project octave):

Michael,

The link to the relevant page in the manual is below.

http://gnuplot.sourceforge.net/docs_4.2/node226.html

The command is placing a rectangle filled by the figure's color behind all
other objects.

The syntax for 4.6 is


set object <index>
       <object-type> <object-properties>
       {front|back|behind} {fc|fillcolor <colorspec>} {fs <fillstyle>}
       {default} {lw|linewidth <width>}


with <filestyle> being


set style fill {empty
                     | {transparent} solid {<density>}
                     | {transparent} pattern {<n>}}
                    {border {lt} {lc <colorspec>} | noborder}


For 5.0 it is


set object <index>
       <object-type> <object-properties>
       {front|back|behind} {clip|noclip}
       {fc|fillcolor <colorspec>} {fs <fillstyle>}
       {default} {lw|linewidth <width>} {dt|dashtype <dashtype>}
   unset object <index>


with <filestyle> being


set style fill {empty
                     | {transparent} solid {<density>}
                     | {transparent} pattern {<n>}}
                    {border {lt} {lc <colorspec>} | noborder}


As the syntax has changed it is likely this part of gunplot has been modified
or rewritten. I did a simple search of gnuplot's bugs but didn't find a report
matching this.

http://sourceforge.net/p/gnuplot/bugs/search/?q=%22set+obj%22

I tried the simple gnuplot script below, but it does not produce the black
rectangle in gnuplot 5


set terminal postscript enhanced color size 10,7.5 eps 20 dashlength 2
#set terminal pdf size 5,4 color
set output 'test.eps'
plot sin(x)
set obj 1 rectangle from screen 0,0 to screen 1,1 behind fc rgb "#acacff" fs
solid no border



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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