|
|
contourf with squares not interpolated contours?
Hi all,
I would like to plot a matrix as a bunch of colors representing the z values, but I want the plot to give a well defined square, rather than the contours that are the reason countourf has its name.
Example here: http://hansgilde.files.wordpress.com/2009/10/stock_heat.png
Can anyone give me a hint on how to do this matlab, preferably with a standard function?
Tx!
|
|
0
|
|
|
|
Reply
|
forkandwait
|
3/4/2010 11:17:21 PM |
|
"forkandwait w" <forkandwait@gmail.com> wrote in message <hmpf21$mk0$1@fred.mathworks.com>...
> Hi all,
>
> I would like to plot a matrix as a bunch of colors representing the z values, but I want the plot to give a well defined square, rather than the contours that are the reason countourf has its name.
>
> Example here: http://hansgilde.files.wordpress.com/2009/10/stock_heat.png
>
> Can anyone give me a hint on how to do this matlab, preferably with a standard function?
>
> Tx!
help:
surf
pcolor
imagesc
should get you started.
-Andrew
|
|
0
|
|
|
|
Reply
|
Andrew
|
3/4/2010 11:43:22 PM
|
|
> pcolor
This looks like it will work, once I figure out how to rejigger the axis labels and such.
Thanks!
W
|
|
0
|
|
|
|
Reply
|
forkandwait
|
3/5/2010 12:16:06 AM
|
|
|
2 Replies
623 Views
(page loaded in 0.042 seconds)
Similiar Articles: contourf with squares not interpolated contours? - comp.soft-sys ...Hi all, I would like to plot a matrix as a bunch of colors representing the z values, but I want the plot to give a well defined square, rather than the contours that ... Smooth surface mesh/grid - comp.soft-sys.matlabHelp overplotting contours and surface - comp.lang.idl-pvwave ... contourf with squares not interpolated contours? - comp.soft-sys ..... to give a well defined square ... Colour interpolation? - comp.graphics.api.openglcontourf with squares not interpolated contours? - comp.soft-sys ... Contour(XY,[5 5]) outlines those regions. Contourf will color the regions ... Fill a single contour - comp.soft-sys.matlab... that there is one fewer square ... be _outside_ of the contour to be filled, and that's not ... Contour(XY,[5 5]) outlines those regions. Contourf will color the regions ... Good 1D interpolation source code in C/C++? - comp.programming ...... sequence of 1D data, there are NaN's(not a valid number), how do I interpolate ... eps s((1-f)/2 t) where s(t) is the square ... Two Source Radiation Contour Issue - comp ... pcolor in Matlab - comp.soft-sys.matlabcontourf with squares not interpolated contours? - comp.soft-sys ... pcolor in Matlab - comp.soft-sys.matlab... this is general and does NOT ... Hi all, I'm using pcolor ... contourf with squares not interpolated contours? - comp.soft-sys ...Hi all, I would like to plot a matrix as a bunch of colors representing the z values, but I want the plot to give a well defined square, rather than the contours that ... Contour Plots :: Creating Specialized Plots (MATLABĀ®)Before calling contourc to interpolate contours, contourf pads the height matrix with ... Walk around the edges of the square just entered; the contour exits at the next edge ... 7/25/2012 7:16:16 PM
|
|
|
|
|
|
|
|
|