The Math Forum



Search All of the Math Forum:

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


Math Forum » Discussions » Software » comp.soft-sys.matlab

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

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
B. Dahm

Posts: 8
Registered: 12/7/04
edge for pcolor plots
Posted: Feb 14, 2000 7:55 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

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





Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2017. All Rights Reserved.