|
From: Thomas P. <jun...@gm...> - 2010-09-03 21:46:47
|
Hi, Is there a way to color a line according to some z-values? Like pm3d map just on the line and not in the background. If I want to display wind speed and direction vs time in one graph. OK that could be done with 2 y-axes, but maybe this can be done in gnuplot? I would display the wind direction in a usual x-y plot. Having now the line color-graded to the speed would be perfect. Thanks Thomas |
|
From: Thomas P. <jun...@gm...> - 2010-09-03 22:06:04
|
Sorry to write again. Or if the line coloring is not possible I could use the filling in between lines and create a band +- the wind direction and then fill it with below/above however this filling color should ow be color-graded according to the wind speed. Thanks Thomas Thomas Pfrommer wrote: > Hi, > Is there a way to color a line according to some z-values? Like pm3d map > just on the line and not in the background. > > If I want to display wind speed and direction vs time in one graph. OK > that could be done with 2 y-axes, but maybe this can be done in gnuplot? > I would display the wind direction in a usual x-y plot. Having now the > line color-graded to the speed would be perfect. > > Thanks > Thomas > > ------------------------------------------------------------------------------ > This SF.net Dev2Dev email is sponsored by: > > Show off your parallel programming skills. > Enter the Intel(R) Threading Challenge 2010. > http://p.sf.net/sfu/intel-thread-sfd > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > |
|
From: Thomas S. <t.s...@fz...> - 2010-09-04 18:15:25
|
assuming your datafile looks like this: time direction speed you could plot with a color palette: set colorbox plot 'datafilename' using 1:2:3 with lines linecolor palette fusselpelusa wrote: > > Hi, > Is there a way to color a line according to some z-values? Like pm3d map > just on the line and not in the background. > > If I want to display wind speed and direction vs time in one graph. OK > that could be done with 2 y-axes, but maybe this can be done in gnuplot? > I would display the wind direction in a usual x-y plot. Having now the > line color-graded to the speed would be perfect. > > Thanks > Thomas > > ------------------------------------------------------------------------------ > This SF.net Dev2Dev email is sponsored by: > > Show off your parallel programming skills. > Enter the Intel(R) Threading Challenge 2010. > http://p.sf.net/sfu/intel-thread-sfd > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > -- View this message in context: http://old.nabble.com/Color-graded-line--tp29618645p29621727.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Thomas P. <pfr...@ph...> - 2010-09-08 09:28:21
|
Thanks for this help! Thats great! If I want to fill the area between the 2 curves, I already use 3 arguments for using, and filledcu does not accept a fourth for the color palette. In there a workaround for the filledcu option and still use the following command? lc palette z Thanks Thomas Thomas Sefzick wrote: > assuming your datafile looks like this: > time direction speed > you could plot with a color palette: > > set colorbox > plot 'datafilename' using 1:2:3 with lines linecolor palette > > > fusselpelusa wrote: > >> Hi, >> Is there a way to color a line according to some z-values? Like pm3d map >> just on the line and not in the background. >> >> If I want to display wind speed and direction vs time in one graph. OK >> that could be done with 2 y-axes, but maybe this can be done in gnuplot? >> I would display the wind direction in a usual x-y plot. Having now the >> line color-graded to the speed would be perfect. >> >> Thanks >> Thomas >> >> ------------------------------------------------------------------------------ >> This SF.net Dev2Dev email is sponsored by: >> >> Show off your parallel programming skills. >> Enter the Intel(R) Threading Challenge 2010. >> http://p.sf.net/sfu/intel-thread-sfd >> _______________________________________________ >> gnuplot-info mailing list >> gnu...@li... >> https://lists.sourceforge.net/lists/listinfo/gnuplot-info >> >> >> > > |
|
From: Tamas H. <ho...@gm...> - 2010-09-12 06:53:17
|
If you can't make it work "normally" you can always double-plot it, one colouring the lines, one drawing the fills. On Wed, Sep 8, 2010 at 11:14 AM, Thomas Pfrommer <pfr...@ph...>wrote: > Thanks for this help! Thats great! > > If I want to fill the area between the 2 curves, I already use 3 > arguments for using, and filledcu does not accept a fourth for the color > palette. In there a workaround for the filledcu option and still use the > following command? > > lc palette z > > Thanks > Thomas > > > Thomas Sefzick wrote: > > assuming your datafile looks like this: > > time direction speed > > you could plot with a color palette: > > > > set colorbox > > plot 'datafilename' using 1:2:3 with lines linecolor palette > > > > > > fusselpelusa wrote: > > > >> Hi, > >> Is there a way to color a line according to some z-values? Like pm3d map > >> just on the line and not in the background. > >> > >> If I want to display wind speed and direction vs time in one graph. OK > >> that could be done with 2 y-axes, but maybe this can be done in gnuplot? > >> I would display the wind direction in a usual x-y plot. Having now the > >> line color-graded to the speed would be perfect. > >> > >> Thanks > >> Thomas > >> > >> > ------------------------------------------------------------------------------ > >> This SF.net Dev2Dev email is sponsored by: > >> > >> Show off your parallel programming skills. > >> Enter the Intel(R) Threading Challenge 2010. > >> http://p.sf.net/sfu/intel-thread-sfd > >> _______________________________________________ > >> gnuplot-info mailing list > >> gnu...@li... > >> https://lists.sourceforge.net/lists/listinfo/gnuplot-info > >> > >> > >> > > > > > > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > |