Community Profile

photo

Kathryn McCormick


University of Oregon

Active since 2011

Statistics

  • First Review
  • Thankful Level 1

View badges

Content Feed

View by

Question


Two colors, one vector
I would like to plot a periodic vector, such as x = -4*pi:0.1:4*pi; plot(sin(x)); but to have the positive values pl...

10 years ago | 1 answer | 0

1

answer

Question


How do I vary color along a 2D line?
I am plotting the x,y position of a point over time. I have the data in two vectors, xpos and ypos, and I plot the path of this ...

13 years ago | 4 answers | 5

4

answers