Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Recycling colors in Schemes

    Hi,

    I am having some issues in recycling colors through a .scheme file.

    I want to cycle through 16 colors instead of the standard 15

    so i create a scheme file, which looks like below.



    Code:
    #include s2color
    numstyle pcycle           16
    color         p16        newcol16
    linestyle    p16        p16
    linestyle     p16line  p16line
    seriesstyle p16        p16
    seriesstyle p16line   p16line
    note newcol16 is a custom .style file i.e. C:\ado\plus\style\color-newcol16.style

    I get the following error messages

    Code:
    (note:  named style p16line not found in class seriesstyle, default attributes used)
    (note:  named style p16line not found in class seriesstyle, default attributes used)


    I thought i understood schemes, but clearly i don't.
    I thought they worked like macros. i.e. specify the color for the 16th plot, then you can use the reference p16 all over the place.

    If anyone has any ideas that would be great

    not sure if it matters but im using sts graph , by(catergories)

    Thanks in advance

    Adrian
Working...
X