DataGraph Forums › Technical Support › Support Desk › Customize chart
Is there a way to have lines of different colors and different color of the solid color in the fill option?
If you want to have complete control over the colors and have each line and error bar the same color, you would need to create a command for each one.
(I am assuming you want the error bar and line color the same. If that is not the case, you can ignore the parts about changing the error bar color.)
(NOTE: if this is not the color you want, don’t worry — you can customize in the style sheet later — they just need to the be the same entry in the list of color tiles)
Notice — I also added a Legend command and Specified the Legend name in the command as ‘one’.
Next, close this command, highlight the command, copy (command-C) and paste (command-V).
For this example, I copy and pasted the command twice and then for each command:
This gives you different lines and and colors for each fill.
To change the Line colors. use the Style settings (this is where the colors in the drop-down menu in the commands are specified for each graph — if you don’t care about keeping the colors coordinated for the line and error bars, you could just change the colors in the commands.).
If you only have a few lines, the above approach gives you a lot of flexibility, but does require the work of adding the additional commands and masks.
Another way to distinguish between the data, that requires less commands, is to leave the lines the same color, and only change the points. Then you can overlay a Points command with a color scheme.
Here is a link to a Video that explains the color scheme option:
This video also introduces the Plots command. Plots can draw multi-colored lines but requires the x is always the same, the y values are in separate columns, and does not draw error bars. So I don’t think this is a good solution for you.
Finally, (sorry for the long response!) we have been contemplating a new command which could allow for multicolored lines drawn from data in the format you have, along with the error bars. We working on getting that in the Beta now — but hopefully this gets you want you need for the moment!
Thank you for your answer, I couldn’t manage to add a legend command, with the same plot. I think if I could do that I can manage the next.
Thank you for your answer, I couldn’t manage to add a legend command, with the same plot…I put the number in a new column and insert new plots.
We added a new article: How to Add a Legend.
Please look it over and let us know if this helps or if you have any other questions. Thanks!
DataGraph Forums › Technical Support › Support Desk › Customize chart