Borrar filtros
Borrar filtros

How to draw/get crescent plot

2 visualizaciones (últimos 30 días)
Alper Yaşin
Alper Yaşin el 1 de Ag. de 2021
Editada: darova el 2 de Ag. de 2021
How can i plot a crescent with 6 points?
I am just looking for ideas so if anyone has any, i would be appreciated if you share your idea with me

Respuesta aceptada

Vignesh Murugavel
Vignesh Murugavel el 1 de Ag. de 2021
Editada: darova el 2 de Ag. de 2021
Not exactly a crescent, But something similar, maybe you could try and change any values to achieve the shape you are looking for:
th = linspace( pi/3, -pi/3, 100);
R = 1; %or whatever radius you want
x = R*cos(th) + 5;
y = R*sin(th) + 4;
plot(x,y); axis equal;
hold on
th = linspace( pi/3, -pi/3, 100);
R = 1; %or whatever radius you want
x = R*cos(th) + 4.9;
y = R*sin(th) + 4;
plot(x,y); axis equal;
hold off
You can refer to this below link to get a better idea as well: LINK

Más respuestas (0)

Categorías

Más información sobre Data Distribution Plots 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