help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Plotting a function of 3 variables ?


From: Oisín Ó Cuanacháin
Subject: Re: Plotting a function of 3 variables ?
Date: Wed, 25 Apr 2012 14:23:40 +0100

> hello again,

> no what I told you is correct, test following code and you will achieve the picture attached (with the last input determining the color):

> ss=mesh([1,1;2,2],[1,2;1,2],[1,1;1,1],[1,2;3,4]);

> set(ss,"marker","s","linestyle","none")

> The surface is not transparent, but this is an issue you will be able to solve

> best


> w

 

No, I'm afraid not. I believe mesh is fundamentally for plotting surfaces NOT volumes but if you believe you can prove me wrong and to avoid any further confusion about what exactly I am trying to achieve see this link:
https://docs.google.com/open?id=0B4QJxcxANtL2eHJVVkVRUHhidVU
Think of it as plotting the temperature at every point through a block of metal, I believe Martin Helm has correctly understood what I am trying to do.
To do this with mesh as you suggest I believe each of the x,y,z inputs would have to be 3-D arrays not 2-D as in your example, but mesh will not work with 3-D array inputs, hence my problem.

Hope this is clear.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]