How can I change this trajectory?
2 ビュー (過去 30 日間)
古いコメントを表示
Zeinab Ahmadi93
2017 年 6 月 29 日
回答済み: Vinoth Venkatesan
2017 年 7 月 6 日
Hello everybody
I want to change the code in spiral.m file so that it creates a spiral shape like this picture(which red stars are on it) with the same range and these additional lines on the corners.
Thanks in advance.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/165630/image.jpeg)
0 件のコメント
採用された回答
Vinoth Venkatesan
2017 年 7 月 6 日
The axis range of the plot can be set using 'axis' in MATLAB. For example, to achieve the axis limits shown in the attached figure:
axis([0 100 0 100]);
Refer to the MATLAB documentation for a clear description and examples. To answer the second question about getting the markers, use the * Marker symbol. For more information and examples, please refer to the plot documentation.
0 件のコメント
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!