05-18-2006 11:00 AM
05-19-2006 10:02 AM
Hi DrWisch,
If you had a CWGraph XY plot named CWGraph1, you could simply say
CWGraph1.Caption = "New Caption"
This would allow you to change the caption at any point during runtime.
Hope this helps!
05-19-2006 03:22 PM
05-19-2006 03:35 PM
Hi DrWisch,
Finding these methods and properties for the graphs just take a matter of looking through the help. Refer below for example code for setting axis captions.
X-Axis: cwgraph1.Axes(1).Caption = "X axis caption"
Y-Axis: cwgraph1.Axes(2).Caption = "Y axis caption"
Hope this helps!
05-23-2006 08:34 PM
05-24-2006 09:42 AM
Hi DrWish,
Currently there is no option to access the font size of those individual axes like you can under the Advanced tab. Refer to this post for more information.
You can however set the font size and type for the entire CWGraph by saying
CWGraph1.Font.Name = "Arial"
CWGraph1.Font.Size = 15
If you would like to have this feature exposed in the near future of Measurement Studio, you can submit your suggestions at www.ni.com >> Contact NI >> Product Feedback.
Hope this helps!