Instead, I can use the color matrix that I just created and use that in my color bar. I can simply add the default legend:īut this is quite impractical. When I have this many lines, I often wonder what the best way to put a legend is. (Be sure to use hold all to preserve the color order.) Now, my subsequent plots will follow the new color order. Or set it as the new ColorOrder property of an axes. I can either index into this color matrix and use it as my Color property for plot: Daniel's varycolor will give you that color set with a single command. ![]() ![]() ![]() Have you ever had to plot many lines on a single graph and you had to construct additional set of colors to augment the 8īuilt-in colors? You may have to come up with a good set of colors that span a wide range of the spectrum. Jiro's pick this week is VARYCOLOR by Daniel Helmick.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |