From: Harald H. <h.h...@tu...> - 2005-02-05 16:19:51
|
A view days ago, Ethan has told me that it is possible to give the line color by specifying the rgb value. This is a great thing but I have not found out how to specify the line type (i.e., dash style), too. set style line 1 lt rgb "#000000" set style line 2 lt rgb "#00FF00" set style line 3 lt rgb "#FF0000" This sequence, for instance, produces a black solid line type, a green one with long dashes and a red one with shord dashes. But how to produce too solid line types and then a dashed one? Do I miss something in the documentation or is that not possible yet? Another thing: Why does gnuplot switch on the color palette when using an rgb-defined color? I think it should not do that, automatically. In this code, set output 'asdf.ps' set terminal postscript dashed color dashlen 4 set style line 1 lt rgb "#000000" set style line 2 lt rgb "#00FF00" set style line 3 lt rgb "#FF0000" plot sin(x) ls 1, cos(x) ls 2, sin(x)*cos(x) ls 3 set output for example, the color palette is useless. Regards Harald PS: Thanks, Ethan, for enhancing rgb-color specification to labels! -- Harald Harders h.h...@tu... http://www.harald-harders.de |