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: plot3
Replies: 4   Last Post: Sep 25, 2013 7:44 PM

Advanced Search

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

Posts: 18,038
Registered: 12/7/04
Re: plot3
Posted: Sep 25, 2013 10:19 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"matlab " <> wrote in message
> "matlab " <> wrote in message
> <l1t72f$ad5$>...

>> I have a result R which value depends of 3 variables a, b and c.
>> R=[70 65 89 45 94]
>> a=[0 0.25 0.5 0.75 1]
>> b=[0 0.25 0.5 0.75 1]
>> c=[0 0.25 0.5 0.75 1]
>> R=89 for a=0.5 b=0.5 and c= 0.5
>> I want to plot the change in R with regards to these 3 variables. How can
>> i do it?
>> From the help of plot3, i couldn't understand how to do it.
>> it states that i have to put plot3(x,y,z) so in my case that would be
>> plot3(a,b,c) but that would consider that the value of R is equal to 1 .
>> Thanks for your time

> I saw that scatter3 can change the color the represent the 4th variable(R
> in my case), however i want to see the value of R in the figure so the
> color change won't be enough

First, get a 4-D monitor. Once you've done that, come back and ask again.

The best I think you're going to be able to do is to use SCATTER3 with R
representing the color and/or marker size. Perhaps using a LEGEND or a
COLORBAR will count as letting you "see the value of R in the figure"?

Steve Lord
To contact Technical Support use the Contact Us link on

Date Subject Author
Read plot3
Read Re: plot3
Read Re: plot3
Steven Lord
Read Re: plot3
Read Re: plot3

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.