Pick a specific level in the contour plot on matlab -
i have plot generated test of figuring out how contour plots work on matlab in general. i'm trying figure out if there way can plot 1 of lines not first line.
they way matlab explains if do:
contour(x,y,z,1);
it plot 1 of lines it's first one, particular case want 3rd or 4th one. there way in matlab?
contour(z,n)
, contour(x,y,z,n)
draw n
contour lines, choosing levels automatically. not want!
contour(z,v)
, contour(x,y,z,v)
draw contour line each level specified in vector v
. use contour(z,[v v])
or contour(x,y,z,[v v])
draw contours single level v
.
suggesting levels of 3rd , 4th line 7
, 8
have write contour(x,y,z,[7 7])
plot 3rd line or contour(x,y,z,[7 8])
plot 3rd , 4th line.
Comments
Post a Comment