|
From: Allin C. <cot...@wf...> - 2014-07-02 14:51:36
|
The above-noted "set" option is one that is gone in 5.0. I'm not sure what is the recommended replacement. I'm thinking of this sort of thing in gnuplot 4: set style line 1 <whatever> set style line 2 <whatever> set style line 3 <whatever> set style increment user plot <data1> w l, <data2> w l, <data3> w l and the 3 lines would come out in the respective 3 user-defined styles. Now admittedly the "increment user" thing seemed a bit odd; you might expect the user-defined line-styles to apply automatically. However, it did the job. Now that it's gone, is there a compact alternative way of telling gnuplot to use user-defined styles in sequence? If I simply comment out the "increment user" line above in gnuplot 5.0, the user-styles are ignored in favor of the default ones. I can get them to be used by doing plot <data1> ls 1 w l, <data2> ls 2 w l, <data3> ls 3 w l But this is "more work," and creates more opportunity for error, than arranging just once for the styles to be used sequentially. Allin Cottrell |