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: Plotting multiple 3d loops
Replies: 3   Last Post: Feb 8, 2013 8:21 AM

Advanced Search

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

Posts: 61
Registered: 12/8/08
Plotting multiple 3d loops
Posted: Feb 8, 2013 5:56 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply


I have 2 datasets which I would like plot on the same graphs.

My code is below:
for j = 1:2;
for i = 1:7;
for k = 1:5;
figure;plot(x_data(i,j,k), y_data(i,j,k));

j represents the two datasets and i and k is the data within each j dataset. The above script opens 70 individual figures; 35 from dataset one and 35 from dataset two. I would like to plot the second 35 figures on the corresponding first 35 figures. How can I do this?

Many thanks in advance,


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.