I have a graph and want to get the color, size etc. of the traces but am unable to do so. I tried "TraceInfo", but it is giving the same value of zColor etc. for the traces with different color on the graph. If anyone has any suggestions, then please let me know.
Thanks
Abhinav
zColor is not the color of the trace. The keyword for the trace color is rgb. Try this:
This prints (among other output):
Here are some functions that illustrate how to get the trace color:
You would invoke this from the command line like this:
Later . . .
I now remember that I posted a snippet on this a while ago. It's basically the same: http://www.igorexchange.com/node/875
June 15, 2011 at 10:56 pm - Permalink
June 16, 2011 at 12:04 am - Permalink