Prev: Surface generation
Next: how to plot? (basic question)
From: Rachit on 23 Jun 2010 02:27 Hello All, I have a problem generating surfaces from 2 data files that I am importing.My data varies along the Z-co-ordinate and X-Y remain the same. I imported and created the surfaces for the first data file and similarly for the second.I used the mesh , gridata and surf command to generate the data from one data file. Is it a way that I can combine both of them to show the variation in the Z co0ordinate and show the change in surface. I will be having 10 files in total which I want to show change in variation of Z co-cordinate Thanks, Rac
From: Walter Roberson on 23 Jun 2010 09:24 Rachit wrote: > I imported and created the surfaces for the first data file and > similarly for the second.I used the mesh , gridata and surf command to > generate the data from one data file. > > Is it a way that I can combine both of them to show the variation in the > Z co0ordinate and show the change in surface. What are you anticipating that the combined plot would look like? You could plot both surfaces at a common origin and scale, but then the Z values for one would obscure the Z values for the other. You could make the surfaces transparent so that you could see "into" the hidden parts, but by the time you get to 4 surfaces that transparency is going to pretty much useless.
From: Rachit on 23 Jun 2010 09:50 Walter Roberson <roberson(a)hushmail.com> wrote in message <YVnUn.65002$h57.27247(a)newsfe22.iad>... > Rachit wrote: > > > I imported and created the surfaces for the first data file and > > similarly for the second.I used the mesh , gridata and surf command to > > generate the data from one data file. > > > > Is it a way that I can combine both of them to show the variation in the > > Z co0ordinate and show the change in surface. > > What are you anticipating that the combined plot would look like? You > could plot both surfaces at a common origin and scale, but then the Z > values for one would obscure the Z values for the other. You could make > the surfaces transparent so that you could see "into" the hidden parts, > but by the time you get to 4 surfaces that transparency is going to > pretty much useless. I am anticipating that Z would decrease with time and hence want to show a color map of the height variation.Is it possible to generate a surface as a function of Z since it is going to change with time.
From: Walter Roberson on 23 Jun 2010 10:56 Rachit wrote: > I am anticipating that Z would decrease with time and hence want to show > a color map of the height variation.Is it possible to generate a surface > as a function of Z since it is going to change with time. You are asking for a 4D graph -- for each X and Y pair, you have one Z per time instance. You could assign a distinct colour to each time instance, but if your Z's are decreasing over time then the first Z would hide the rest unless you use transparency, and if you use transparency then you need to be careful to ensure that the bottom-most color is still distinctive after passing through 9 layers -- which requires each layer to be something more than 50% transparent if the bottom layer is full brightness.
|
Pages: 1 Prev: Surface generation Next: how to plot? (basic question) |