Markers get clipped on autoscale axis
Status: Alpha
Brought to you by:
shaiay
When issuing the command:
plot(1:2, 1:2, '+')
The marker at the edges (at 1 and at 10) gets clipped
due to the axis being 1 and 10. This is not always the
case and is dependent on the axis and the marker
used. For example, using the marker 'o' will clip the
marker at (1,1) but using the marker '+' will NOt clip the
marker at (1,1). In both cases, the marker at (2,2) is
clipped.
- Shai
Logged In: YES
user_id=136223
clipping occurs at the axis box. The resolution to this bug
can be
1) to slightly increase axes limits so that markers are inside.
2) somehow not clip ONLY markers who's center is in the axes box
solution 1 looks a bit ugly graphically, so I will leave it
to the user
solution 2 is a bit hard at this time sinc clipping is done
automaticaly by OpenGL. I will postpone it since solution 1
can help