LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Two identical points on a XY Graph not showing at same location

Why isn't the smaller yellow point in the dead center of the red one, as is anticipated for two points with the same coordinates? Here are two examples where the only thing different is the Plot appearance. 2024 Q3.

 

Code:

ajbradford_4-1740173776368.png

Front Panel example 1:

ajbradford_5-1740173815158.png

 

Front Panel example 2:

ajbradford_6-1740173860439.png

 

My guess is that this is a "feature" of plots and I should use a picture instead.

0 Kudos
Message 1 of 5
(108 Views)

I think it is due to the different line widths used for the points.

0 Kudos
Message 2 of 5
(91 Views)

There is no subpixel positioning (similar to antialiasing) and everything is quantized to pixels. If you mix dots with even and odd number of pixels across, it is impossible to align them. One has the center on a pixel and one has the center halfway between two pixels.

 

(But I agree it looks worse than that, especially with large dots 😄 )

0 Kudos
Message 3 of 5
(82 Views)

must be an optical illusion I see a white square 

______________________________________________________________
Have a pleasant day and be sure to learn Python for success and prosperity.
0 Kudos
Message 4 of 5
(52 Views)

@Jay14159265 wrote:

must be an optical illusion I see a white square 


The two squares are actually the same size!

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 5 of 5
(24 Views)