How can I find the plot lines in a figure with 3 plots?

1 Ansicht (letzte 30 Tage)
Mohammad
Mohammad am 4 Feb. 2014
the user gives the function a figure with 3 graphs ( 3 plots) in it. I want to change the line color and LineStyle of each one. How can I do it? I've tried findobj(gcf,'type','line') but for example in a figure with 3 graphs, it finds 16 line objects. How can I find out which ones are the graphs? Note that the user will give different figures to the function. so I cant not count the lines and try to find which number is for which line.

Antworten (0)

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by