Why won't one of my plot points show
Mostrar comentarios más antiguos
In this figure h_t won't show itself
x = 0.5
f = exp(-0.5*x^2);
t = 0.5;
g_t = exp(-(x-3*t)).^2;
h_t = exp(-x.^2+t).^2;
figure
hold all
plot(f,'r')
plot(g_t)
plot(h_t,'g')
xlim([0 2])
grid off
I've tried h_t outside on it's own and it gives a point but it won't show on this figure.
And is there a way to make the points bigger or easier to see?
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Creating, Deleting, and Querying Graphics Objects en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!