Page 10 of 10

Re: Gnuplot Scripts

PostPosted: Wed Jan 20, 2016 3:48 pm
by ckeyes888
Those changes work fine for me. Any way to change the linespoints color?
Code: Select all
plot dataFileForecast using 1:6 with impulses,\
     dataFileForecast using 1:2:(0) with filledcurves above y1=0 linecolor "#999999",\
     dataFileForecast using 1:2 with linespoints linestyle 2 axes x1y1,\
     dataFileForecast using 1:2:3 with labels textcolor rgb "#FFFFFF",\
     dataFileForecast using 1:4:(0) with filledcurves above y1=0 linecolor "#111111",\
     dataFileForecast using 1:4 with linespoints linestyle 2 axes x1y1,\
     dataFileForecast using 1:4:5 with labels textcolor rgb "#FFFFFF",\
     freezeWarning with filledcurves above y1=0 linecolor rgb "#0066CC"


They're drawing as white for me which is the same color as the temps text running along
the line making them hard to read.

Thanks,

Carl

Re: Gnuplot Scripts

PostPosted: Wed Jan 20, 2016 4:49 pm
by DaveL17
afulki wrote:
Thanks Dave,

one more fix :) if you change points to linespoints you get the solid line above the fill

e.g.
this dataFileForecast using 1:4 with points linestyle 2 axes x1y1,\
to dataFileForecast using 1:4 with linespoints linestyle 2 axes x1y1,\

My pleasure. Yeah, the reason that I don't go with linespoints is because I want to plot the line above the fill separately to be able to make its color a neighbor of the fill color.

A matter of preference. :D

Re: Gnuplot Scripts

PostPosted: Wed Jan 20, 2016 7:23 pm
by ckeyes888
Just a curiosity at this point but anyone have any idea why the colors are so different
between the 10.5.8 and 10.6.8 versions?

Thanks,

Carl

Re: Gnuplot Scripts

PostPosted: Wed Jan 20, 2016 7:38 pm
by DaveL17
I don't know about that, but it may be related to how the colors are calibrated in the OS. There's a ton of color control baked into the system.

About your charts, take a look at the plot order. In gnuplot, each plot line is drawn on top of the last--which is why you see the freeze warning and precip lines written on top of your temperatures.

Dave

Re: Gnuplot Scripts

PostPosted: Wed Jan 20, 2016 8:26 pm
by ckeyes888
Good to know, thanks Dave.

Carl

Re: Gnuplot Scripts

PostPosted: Thu Jun 23, 2016 5:49 am
by DaveL17
I'm not sure what happened last night. All I can come up with is that Durosity must've picked up a check. :D

Screen Shot 2016-06-23 at 6.41.42 AM.png
Screen Shot 2016-06-23 at 6.41.42 AM.png (26.75 KiB) Viewed 4917 times

Re: Gnuplot Scripts

PostPosted: Mon Jul 11, 2016 7:48 pm
by DaveL17
Moderator's note: Moved to the Dave's Scripts forum.