How to get values of W(x,y) from the function contour(x,y,W,1000) ?

View: New views
2 Messages — Rating Filter:   Alert me  

How to get values of W(x,y) from the function contour(x,y,W,1000) ?

by Prof M. N. Anandaram :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello anybody:

I am using the Octave function contour(x,y,W(x,y), 1000) to good effect but do not know
which command to use to print out all the contoured values of W(x,y) in the |x|, |y| field.

Of course I supply a large matrix of W and a corresponding meshgrid(x,y) to the contour() command.
But I want to have the values of W used only for the contours that are plotted in the given region.

Can anyone tell me how?

Thanks in advance.
Anandaram


     
_______________________________________________
Help-octave mailing list
Help-octave@...
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave

Re: How to get values of W(x, y) from the function contour(x, y, W, 1000) ?

by kahacjde :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Prof M. N. Anandaram schrieb:

> Hello anybody:
>
> I am using the Octave function contour(x,y,W(x,y), 1000) to good effect but do not know
> which command to use to print out all the contoured values of W(x,y) in the |x|, |y| field.
>
> Of course I supply a large matrix of W and a corresponding meshgrid(x,y) to the contour() command.
> But I want to have the values of W used only for the contours that are plotted in the given region.
>
> Can anyone tell me how?
>
> Thanks in advance.
> Anandaram
>
>
>      
> _______________________________________________
> Help-octave mailing list
> Help-octave@...
> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
>  
You can use the function contourc to get the contour lines.
e.g.
contourc(x,y,W,1000)

Kai
_______________________________________________
Help-octave mailing list
Help-octave@...
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
LightInTheBox - Buy quality products at wholesale price!