How can I change this trajectory?

1 visualización (últimos 30 días)
Zeinab Ahmadi93
Zeinab Ahmadi93 el 29 de Jun. de 2017
Respondida: Vinoth Venkatesan el 6 de Jul. de 2017
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.

Respuesta aceptada

Vinoth Venkatesan
Vinoth Venkatesan el 6 de Jul. de 2017
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.

Más respuestas (0)

Categorías

Más información sobre WSNs en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by