Are there xdata and ydata properties for fill command?

4 views (last 30 days)
Are there xdata and ydata properties for fill command? If not what is suitable to change their x and y components because i want to set them. Thanks

Accepted Answer

Azzi Abdelmalek
Azzi Abdelmalek on 2 Dec 2014
x=[0 10 10 5 0 ]
y=[0 0 2 1 2 ]
h=fill(x,y,'r')
get(h,'xdata')
get(h,'ydata')
  2 Comments
Ali
Ali on 2 Dec 2014
Thank you but how can I use it to set my xdata and ydata for fill?

Sign in to comment.

More Answers (0)

Categories

Find more on Scope Variables and Generate Names in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!