Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: edge for pcolor plots
Replies: 1   Last Post: Feb 14, 2000 8:34 AM

 Messages: [ Previous | Next ]
 B. Dahm Posts: 8 Registered: 12/7/04
edge for pcolor plots
Posted: Feb 14, 2000 7:55 AM

Hi everyone,
I have a matrix with size m,n. Let's say:
z = rand(5,10); x=[1:1:10]; y=[1:1:5].
When creating a pcolor plot (pcolor(x,y,z) I have the
problem that obviously the colors are plotted for the
interpolated two neighbouring values. In this way I only
have 9 cells in x-direction and 4 cells in y-direction. Is
it possible to place the values on the center of each cell
to become 10 cells in x-direction and 5 cells in y-
direction, without interpolating the colors between two
cells?

* Sent from AltaVista http://www.altavista.com Where you can also find related Web Pages, Images, Audios, Videos, News, and Shopping. Smart is Beautiful

Date Subject Author
2/14/00 B. Dahm
2/14/00 Jordan Rosenthal