How to get access to Matlab drawings libraries
2 views (last 30 days)
Show older comments
Hi,
I'd like to develop a man-machine-interface with pre-defined drawings. Has Matlab got libraries of existing drawings and how can I reach them ?
Thanks.
3 Comments
Walter Roberson
on 15 Jun 2018
Would they be fixed size? Bitmaps? Vector graphics? Do they need to have editable properties like "Change the angle of that arrowhead, and make the shaft a blue dashed line of width 3? Or "use these as fixed points but let me drag this point around and make the spline curve follow"?
Answers (3)
Ced Desm
on 13 Jun 2018
1 Comment
Steven Lord
on 13 Jun 2018
What do you want to DO with those simple drawings? Display them, use them as an executable flowchart, use them as part of a GUI, etc.?
Walter Roberson
on 26 Jun 2018
There are a small number of things that could vaguely be said to be "drawing library"-ish in MATLAB:
- annotation() permits selection of line shape or drawing shape. annotation() draws on the display. Be careful, though: annotations are in figure units, not in data units
- insertShape() from the Computer Vision toolbox permits lines and shapes to be drawn into an array (not onto the display.) There are a couple of variations of this.
See Also
Categories
Find more on Get Started with MATLAB 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!