LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Scatter Plots in Labwindows/CVI

Is it possible to make the scatter points in a scatter plot larger? I cannot find any SetCtrlAttribute command or SetPlotAttribute command that corresponds to it. Thanks in advance for your help!
0 Kudos
Message 1 of 3
(3,168 Views)

I too have looked for this and not found it. I suspect that the symbols are drawn with pixels centered on the data. An option for points to be drawn x2 or x4 would be nice, especially with today's higher dpi displays.

I've requested this at http://sine.ni.com/apps/utf8/nicc.call_me?p_lang_id=us - feel free to second it!

--Ian

0 Kudos
Message 2 of 3
(3,141 Views)
Lee and Ian,

Though I haven't been able to find an attribute that sets the size, a possible workaround is to use ATTR_TRACE_POINT_STYLE. Some of these styles are larger than others, so this might help. Below is an excerpt from the help file that explains the different styles:

VAL_EMPTY_SQUARE An empty square.
VAL_SOLID_SQUARE A solid square.
VAL_ASTERISK An asterisk type character.
VAL_DOTTED_EMPTY_SQUARE An empty square with a dot in its center.
VAL_DOTTED_SOLID_SQUARE A solid square with a dot in its center.
VAL_SOLID_DIAMOND A diamond shape (similar to a cross).
VAL_EMPTY_SQUARE_WITH_X An empty square with an x-like shape in its center.
VAL_EMPTY_SQUARE_WITH_CROSS An empty square with a cross in its center.
VAL_BOLD_X A bold x-like shape.
VAL_SMALL_SOLID_SQUARE A small solid square.
VAL_SIMPLE_DOT A small dot.
VAL_EMPTY_CIRCLE An empty circle.
VAL_SOLID_CIRCLE A solid circle.
VAL_DOTTED_SOLID_CIRCLE A circle with a dot in its center.
VAL_DOTTED_EMPTY_CIRCLE A solid circle with a dot in its center.
VAL_BOLD_CROSS A bold cross of equal height and width.
VAL_CROSS A cross of equal height and width.
VAL_SMALL_CROSS A small cross of equal height and width.
VAL_X An x-like shape.
VAL_SMALL_X A small x-like shape.
VAL_DOTTED_SOLID_DIAMOND A solid diamond shape with a dot in its center.
VAL_EMPTY_DIAMOND An empty diamond shape.
VAL_DOTTED_EMPTY_DIAMOND An empty solid diamond shape with a dot in its center.
VAL_SMALL_EMPTY_SQUARE A small empty square.
VAL_NO_POINT No cursor point.


Hope this helps!
Sarah K.
Search PME
National Instruments
0 Kudos
Message 3 of 3
(3,114 Views)