pcolor
- From: "spok" <spokieszut@xxxxxxxxxxx>
- Date: 25 Aug 2006 06:31:27 -0700
Question ! :)
How to make pcolor with specific x and y axis without deteriorating the
resolution... ?
Explanation of the problem:
I've got a bunch of data, in a grid, representing temperature varying
in time in a water column. Data have been interpolated every cm and
minutes, so I've got a rather big matrice of 1401 lines (depth in cm) *
3600 column (time in min). The data have also been filtered to remove
the tide (sensor going outside, so data were filled by nans).
When I plot that with a "simple" pcolor as let say:
pcolor(flipud(newtemp)); shading interp;
I've got no pb, and it give me a nice and sweet picture. :)
Now, I would like to put my Y and X axis as Depth (cm) and Time (date),
so I used 2 vectors:
one representing the depth: [14.50:-.01:.5]'
and the other one the time given as Matlab date numbers in every min:
step = datenum('30-may-2006 00:01:00')-datenum('30-may-2006 00:00:00');
time = ([datenum('30-may-2006 00:00:00'):step:datenum('01-aug-2006
20:00:00')];
So now, I'm trying to plot that as:
pcolor(time(1:3600),[14.50:-.01:.5]',newtemp); shading interp;
and... it gives me a dirty picture loosing my resolution... :(
it's like if somehow it was averaging every 10 mins or so... and in the
mean time, the picture seems to ask still a lot of ressources to the
computer...
Really, I don't get it... I don't know if it as something to do with
the xaxis or...
Anybody with an idea ? :).
Spok.
.
- Follow-Ups:
- Re: pcolor
- From: spok
- Re: pcolor
- Prev by Date: Re: Bound from surface triangulation
- Next by Date: Re: Why is variable beta interpreted as function?
- Previous by thread: parametric estimation DSP query
- Next by thread: Re: pcolor
- Index(es):
Relevant Pages
|