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

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

Topic: texture mapping images on the faces of a cube
Replies: 1   Last Post: Jan 31, 2013 6:46 AM

Advanced Search

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

Posts: 10
Registered: 5/3/12
Re: texture mapping images on the faces of a cube
Posted: Jan 31, 2013 6:46 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Thought it may help to shorten my original question to a single point :
I can understand it when X and Y are specified as vectors in the following command i.e. X=1:dim(Z,2) and Y=1:dim(Z,1)
How do I interpret their specification as matrices? For example, what does the following mean :
surface([-1 -1; -1 -1], [-1 1; -1 1], [-1 -1; 1 1], ...
'FaceColor', 'texturemap', 'CData', cdatar );
I will be grateful for any help that I can get.

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-2018. All Rights Reserved.