|
From: Jefferson S. E. P. <st...@gm...> - 2012-03-06 22:49:13
|
I don't have your data to test your specific example, but that works normally: set object 1 rectangle front from -30,-30 to 30,30 fc rgb "black" behind set label textcolor rgb "white" "HOLA" at -5,-0.5 plot sin(x) linecolor rgb "white" You're sure the point -20,-25 is in your plot? If you put the label outside the plot it'll be invisible, of course. If that's not the problem, I can't think now of anything else. []s Stafusa On Tue, Mar 6, 2012 at 10:40 PM, Pau <vim...@go...> wrote: > Last question, I swear... > > I am trying to add a small text in the plotting area like this > > set object 1 rectangle front from -30,-30 to 30,30 fc rgb "black" behind > set label textcolor rgb "white" "HOLA" at -20,-25 > splot "'$1'" binary record=384x128 format="%double" u > ($2*sin($1)):($2*cos($1)):(log10($3)) notitle > > but I cannot see the HOLA anywhere... > > What is wrong? > > thanks! > > > On 6 March 2012 13:30, Pau <vim...@go...> wrote: >> Hi Jefferson, >> >> this worked like a charm! Thanks a lot!!!!! >> >> Pau >> >> On 6 March 2012 11:04, Jefferson Stafusa E. Portela <st...@gm...> wrote: >>> Sorry, I have no experience with epslatex. With "postscript eps" the >>> following works: >>> >>> set object 1 rectangle front from -10,-1.5 to 10,1.5 fc rgb "black" behind >>> plot sin(x) linecolor rgb "white" >>> >>> Hope that helps. >>> >>> []s >>> Stafusa >>> >>> >>> On Mon, Mar 5, 2012 at 6:06 PM, Pau <vim...@go...> wrote: >>>> Thanks, but that does not really work with epslatex ... the labels >>>> seem to be dark grey instead of white >>>> >>>> But in any case I thought that the background color would be limited >>>> to the plotting area, not to all of the plot... >>>> >>>> Is it possible to, say, for instance, draw a black square that covers >>>> all of the plotting area and then replot over that? >>>> >>>> thanks >>>> >>>> ------------------------------------------------------------------------------ >>>> Try before you buy = See our experts in action! >>>> The most comprehensive online learning library for Microsoft developers >>>> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, >>>> Metro Style Apps, more. Free future releases when you subscribe now! >>>> http://p.sf.net/sfu/learndevnow-dev2 >>>> _______________________________________________ >>>> gnuplot-info mailing list >>>> gnu...@li... >>>> https://lists.sourceforge.net/lists/listinfo/gnuplot-info |