How do I scatter the first plot into dots instead of the dash that it is set on?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
syms y(x) x
y1=dsolve(diff(y,x,2)+y==0);
y2=dsolve(diff(y,x,2)+y==-cos(1.1*x));
y2=simplify(y2);
h=ezplot(cos(x)+sin(x))
set(h,'LineStyle','-.')
hold on
ezplot(cos(x)+sin(x)+100*cos(1.1*x)/21)
title('Plots of solutions')
0 comentarios
Respuestas (1)
KSSV
el 9 de Mzo. de 2017
Change the line
set(h,'LineStyle','-.')
to
set(h,'LineStyle',':')
0 comentarios
Ver también
Categorías
Más información sobre Scatter Plots en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!