let pencolor = {"red", "blue", "black"}Then you could use the variables pencolor and penthick elsewhere.
let penthick = {1, 2, 2}plot/i=1:150/color=`pencolor[i=1]`/thickness=`penthick[i=1]` sin(i/15)
plot/over/i=1:150/color=`pencolor[i=2]`/thickness=`penthick[i=2]` sin(i/20)
plot/over/i=1:150/color=`pencolor[i=3]`/thickness=`penthick[i=3]` sin(i/30)
The standard ordering of lines, that's automatically defined,
would be:
{ "black", "red", "green", "blue", "lightblue", "purple"}, and thickness
is
1 for the first 6 lines, 2 for the next 6, 3 for lines 16-18.
Ansley Manke
Arindam Chakraborty wrote:
Hello Ferreters,
is there any way to store the line styles (color, symbol
etc) for a overlaying plot so that those can be used for making
automatic legends later on (using a go file)? By default Ferret
shows those lines in the left-bottom corner.thanks,
Arindam
------------------------------------------
ARINDAM CHAKRABORTY
Centre for Atmospheric & Oceanic Sciences
Indian Institute of Science
Bangalore 560 012; INDIA
Tel: 091-080-3942505, 091-080-3600450
Fax: 091-080-3600865
__________________________________________
--
Ansley Manke Pacific Marine Environmental Laboratory Seattle
WA (206)526-6246