From: Tatsuro M. <tma...@ya...> - 2010-05-25 11:06:46
|
Hello lt palette cb 10 # lt palette ???? --> lc palette # This is right lc palette cb 10 lt 1 lc palette cb 5 lt 2 lc palette cb 0 lt 3 set term x11 dashed set palette rgbformulae 22,13,-31 plot sin(x) lc palette cb 10 lt 1 replot sin(x+0.1*pi) lc palette cb 5 lt 2 replot sin(x+0.2*pi) lc palette cb 0 lt 3 To see the linetype, type 'test' at the gnuplot prompt Regards Tatsuro --- Martin Becker wrote: > Hello, > > I am plotting multiple lines. > The color of the lines is based on a palette. This is working fine. > In addition, I would like to set the line style to be dashed or solid. > In the past, I managed to plot dashed lines using postscript terminals > (with different linetype) and without a palette. > Now I need to have the dashed lines on the screen and the color of the > lines should come from the palette. > > So this is what I do: > --- > set term x11 dashed > set palette rgbformulae 22,13,-31 > set cbrange [ 0 : 100 ] noreverse nowriteback > plot "./pressure_10.txt" w l lt palette cb 10, "./pressure_20.txt" w l > lt palette cb 20 > --- > > Is it opossible to plot some of the lines dashed? How? > Currently I'm using Gnuplot 4.4.0. > > Thanks for your help! > > Martin > > > ------------------------------------------------------------------------------ > > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > -------------------------------------- 2010 FIFA World Cup News [Yahoo!Sports/sportsnavi] http://pr.mail.yahoo.co.jp/southafrica2010/ |