01-04-2013 02:29 PM
I need to change the default xy coord readout color within an XY graph's cursor legend.
Currently, when I create a cursor, the color of the xy readout always defaults to black
and I'd like to change that to red. I realize I can change it via the toolbar, but would prefer to
set a default color or change it programmatically.
Thank you.
Wilhelm Elmore
Technician IV
Department of Biomedical Sciences
Cornell University
01-07-2013 12:45 PM
Hello,
You can do this programmatically by right clicking on the XY Graph indicator on the block diagram and create a property node. You should be able to select Plot->color. Once you place the property node on the block diagram, right click and chage all to write. You can then wire a 'color box constant' to the input of the property node. I've attached an example of where I created a reference to the XY Graph and connected it to an implicit property node. To view the other properties of the XY graph you could click on the property node and select the desired property.