I can't find error's reason help;;; (about plot function)

1 view (last 30 days)
As you see red box, tensStrain & tensStress is same size of double form
so I think it could be plot but error occurs.... they say " error occurs: plot input argument is not enough"
.... what's means..... Could you teach me why error occurs? what is problem..
Thanks for reading it

Accepted Answer

Walter Roberson
Walter Roberson on 17 May 2021
tensStrain is a cell array, but you are using () indexing with it so you are passing in a cell array to plot. You need {} to extract the numeric content.
  2 Comments
James
James on 17 May 2021
Thank you so much!!!!!!!!!!!! have a good day!!!
Walter Roberson
Walter Roberson on 18 May 2021
Heh. Three of us answered in literally less than 1 minute from each other.

Sign in to comment.

More Answers (0)

Categories

Find more on Graphics Objects 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!