Clear Filters
Clear Filters

HOW CAN I CREATE REFERENCE AXES ON A 2D PLANE THAT ALLOWS ME TO DRAW AT THE INTERSECTIONS OF SUCH AXES?

1 view (last 30 days)
I want to draw with my mouse on a plane with help axes, because I cannot know at what exact coordinate my point will be drawn.

Answers (2)

Adam Danz
Adam Danz on 14 Oct 2023
Edited: Adam Danz on 16 Oct 2023
  3 Comments

Sign in to comment.


Image Analyst
Image Analyst on 14 Oct 2023
Perhaps put the tick marks at the origin?
ax = gca
ax.XAxisLocation = 'origin';
ax.YAxisLocation = 'origin';

Categories

Find more on Visual Exploration in Help Center and File Exchange

Products


Release

R2023b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!