Community Profile

photo

mac ligeralde


Active since 2017

Followers: 0   Following: 0

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


Is there a way where you can set your previous y-axis as the next x-axis?
Example is in a for loop, for the next loop, you x-axis becomes the y-axis.

7 years ago | 1 answer | 0

1

answer

Question


I would like to plot my dataset the same as the one in this video https://www.youtube.com/watch?v=6ijArKE8vKU&t=3s. How can i do it?
Here is my code: x =[0,5,5,5,0,0,0,0,0,0,0]; y =[0,0,3,3,3,3,10,10,5,5,11]; z =[0,0,0,5,5,8,8,6,6,4,4]; for i=...

7 years ago | 0 answers | 0

0

answers

Question


Hello! :D i would like to ask if how can you adjust the "origin" to a specific coordinate.
Here is my code: x = [1,2,3,4,5] y = [1,4,5,6,7] for i=1:5 plot(x(i),y(i)) pause() end I would like to set the nexy poi...

7 years ago | 1 answer | 0

1

answer