The first argument must be a valid axes handle

Post Reply
matlab1
Site Admin
Posts: 4059
Joined: Thu Dec 15, 2016 9:30 am
Contact:

The first argument must be a valid axes handle

Post by matlab1 »

The first argument must be a valid axes handle
matlab1
Site Admin
Posts: 4059
Joined: Thu Dec 15, 2016 9:30 am
Contact:

Re: The first argument must be a valid axes handle

Post by matlab1 »

ax = gca

returns the current axes (or standalone visualization) in the current figure. Use ax to get and set properties of the current axes. If there are no axes or charts in the current figure, then gca creates a Cartesian axes object.

https://www.mathworks.com/help/matlab/ref/gca.html

solution,

check the first argument.
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests