Page 1 of 1

Graph with series differentiate by colors and symbols

Posted: Wed Jan 25, 2012 2:55 pm
by Aktar
Hello,

I don't find the code needed for differentiate series with symbol and in the same time with color on a same graph. The style symbols give the same output.

Thank You.

Re: Graph with series differentiate by colors and symbols

Posted: Wed Jan 25, 2012 3:43 pm
by moderator
If you want series to have both different colors and different symbols, you can use the Graph Style Sheet feature. This allows you to create your own style definitions, saved in a text file, which you read in using OPEN and GRPARM(IMPORT=...) instructions.

If you have version 8 or 9, see the Introduction (Section 3.16 in particular) for details.

Regards,
Tom Maycock
Estima

Re: Graph with series differentiate by colors and symbols

Posted: Tue May 14, 2013 4:38 pm
by randerson
Might someone post the 6-digit hex codes for the line default line colors? I did not see these in the manual. These appear to be needed when using graph style sheets to add symbols to colored lines.

Thanks

Re: Graph with series differentiate by colors and symbols

Posted: Tue May 14, 2013 9:21 pm
by TomDoan
These are the colors of the first nine:
  1. RGB_BLACK 000000
  2. RGB_BLUE 0000FF
  3. RGB_GREEN 00FF00
  4. RGB_RED FF0000
  5. RGB_CYAN 00FFFF
  6. RGB_MAGENTA FF00FF
  7. RGB_YELLOW FFFF
  8. RGB_ORANGE FF8000
  9. RGB_BROWN 804000

Re: Graph with series differentiate by colors and symbols

Posted: Sat Oct 18, 2014 2:17 am
by hardmann
Dear Tom:
I have four series and want to graph with series differentiate symbols and same balck.
how can I do without using Graph Style Sheets.

Maybe style can be coded directly. these style acts as parameteras.

graph()
# x / pattern,color,gray,thickness,filled,symbol

graph()
# x / 1,0,,0,6,0


Hardmann

Re: Graph with series differentiate by colors and symbols

Posted: Sun Oct 19, 2014 9:20 am
by TomDoan
That's what style sheet are for. If you want a mix of black and white and color, just make them all color, but use RGB mappings for shades of gray, which have equal values of R, G and B. (F0F0F0 is very light, E0E0E0 is slightly darker, etc.).