imfreehand passing vertical line test

2 views (last 30 days)
Hans Bernhard
Hans Bernhard on 26 May 2015
I am using the open imfreehand tool to make a one-to-one function: to draw a function curve along a 2d graph, but would like to set up limitations so that once an x value has been assigned a y value, no other y values for that x can be plotted. It does not need to be continuous (it can jump along the y axis)
I was currently toying with using a post-draw command that deletes those alternate points after the shape has been drawn, but I was wondering if there was a way to set up limitations within the imfreehand tool to do this. Thanks as always for your insight!

Answers (0)

Categories

Find more on Results, Reporting, and Test File Management in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!