Drexel dragonThe Math ForumDonate to the Math Forum

Search All of the Math Forum:

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

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

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