how to create diagonal stripes in a specific area of plot
13 views (last 30 days)
Show older comments
Hi, I'd like to create some grid of diagonal stripes in an area of a plot (it's easy to define this area, I need this for x 0-->5, and for y: 0-->60).
I can use this for the horizontal lines:
[dotsX,dotsY] = ndgrid(linspace(0, 5, 15), linspace(0, 60, 15));
But, how can I adapt it to make the lines diagonal?
Thanks in advance
0 Comments
See Also
Categories
Find more on Operating on Diagonal Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!