Remove Vertical Line at the start of the Line Plot
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hello!) I am plotting multiple time series in a chart and all of these series do not start at the start of the x axis..which must be adding vertical lines at the start of each of the line plotted, which run all the way down to the x axis (as is shown on this picture ,http://ifile.it/1zwk43i , no registration required to download). I wonder if there is a way to use the PLOT function which does not add those not-so-great-lookign vertical lines to the plot? Thanks! Dima
5 comentarios
Jan
el 19 de Sept. de 2011
In addition ifile.it tracked me using several Google tools. That's not nice.
Respuesta aceptada
Fangjun Jiang
el 19 de Sept. de 2011
To show the x axis starting at a particular point, use xlim() or axis()
4 comentarios
Fangjun Jiang
el 19 de Sept. de 2011
Yes. Num(4:end,2) means the data in the Num array
second column from 4th row to the last row
So you just need to change it to, for example, Num(555:end,2)
Más respuestas (1)
Jan
el 19 de Sept. de 2011
Although I cannot see the diagrams, I think that vertical lines appear only, if you include a [0,0] in the plotted data. This could be cleared, if you post the relevant part of your code used for plotting.
Ver también
Categorías
Más información sobre Bar 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!