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: LineStyleOrder for plot3 function
Replies: 2   Last Post: Aug 13, 2013 11:47 AM

Advanced Search

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

Posts: 4
Registered: 7/25/13
LineStyleOrder for plot3 function
Posted: Aug 6, 2013 11:28 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hi,

I have a question about how to use LineStyleOrder for plot3
I have
C1 = cell (3,100);
C2 = cell (2,100:);

Then I used

figure ('Color',[1 1 1]);
markers = { '+', 'o', '*', '.', 'x', 's', 'd', '^', 'v', '>', '<', 'p', 'h'};
set ( gca(), 'LineStyleOrder', markers, 'NextPlot', 'replacechildren')
plot3 (C1{:})
grid on
box on

figure ('Color',[1 1 1]);
markers = { '+', 'o', '*', '.', 'x', 's', 'd', '^', 'v', '>', '<', 'p', 'h'};
set ( gca(), 'LineStyleOrder', markers, 'NextPlot', 'replacechildren')
plot (C2{:})
grid on

I got 2 graphs in 2D. I am doubt why I cannot plot C1 in 3D with LineStyleOrder.
If I only use plot3 (C1{:}), the graph came out fine in 3D.

Please help. Thank you very much.



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

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.