Limits on a line plot
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Cody Kessler
el 13 de Abr. de 2021
Comentada: Star Strider
el 13 de Abr. de 2021
I'm stuggling to make a good looking line graph. I beleive the problem is the range the data is being plotted to. My x values range from 10e-13 to 10e-18 but when I enter lim(x) it returns ans =
1.0e-13 *
0 0.5000.
Even when I enter xlim([1E-18 1E-13]) it still gives me the same result. Here is how my plot looks right now: 

Vs what I was able to plot in excel: 

It's been a while since I've plotted anything using Matlab, so any help would be great!
Respuesta aceptada
Star Strider
el 13 de Abr. de 2021
It may simply be necessary to ‘stretch’ the figure.
Try something like this:
pos = get(gcf, 'Position');
set(gcf, 'Position',pos+[0 0 500 0])
2 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Logical 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!