Gnuplot Scripts

Posted on
Wed Jan 20, 2016 3:48 pm
ckeyes888 offline
Posts: 2331
Joined: Nov 26, 2009
Location: Kalispell, MT

Re: Gnuplot Scripts

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
Attachments
10DayForecast.png
10DayForecast.png (40.29 KiB) Viewed 2470 times

Posted on
Wed Jan 20, 2016 4:49 pm
DaveL17 offline
User avatar
Posts: 6260
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Gnuplot Scripts

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

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Wed Jan 20, 2016 7:23 pm
ckeyes888 offline
Posts: 2331
Joined: Nov 26, 2009
Location: Kalispell, MT

Re: Gnuplot Scripts

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
Attachments
10DayForecastGood.png
10DayForecastGood.png (31.3 KiB) Viewed 2434 times
10DayForecast.png
10DayForecast.png (35.7 KiB) Viewed 2434 times

Posted on
Wed Jan 20, 2016 7:38 pm
DaveL17 offline
User avatar
Posts: 6260
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Gnuplot Scripts

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

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Wed Jan 20, 2016 8:26 pm
ckeyes888 offline
Posts: 2331
Joined: Nov 26, 2009
Location: Kalispell, MT

Re: Gnuplot Scripts

Good to know, thanks Dave.

Carl

Posted on
Thu Jun 23, 2016 5:49 am
DaveL17 offline
User avatar
Posts: 6260
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Gnuplot Scripts

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 2236 times

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Mon Jul 11, 2016 7:48 pm
DaveL17 offline
User avatar
Posts: 6260
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Gnuplot Scripts

Moderator's note: Moved to the Dave's Scripts forum.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Who is online

Users browsing this forum: No registered users and 1 guest