Effacer les filtres
Effacer les filtres

Draw a multiple lines in Matlab

1 vue (au cours des 30 derniers jours)
Jonasz
Jonasz le 7 Oct 2013
Réponse apportée : Inge le 7 Oct 2013
Hello I have a set of values.
X and Y values
I want to draw each value as a single , separate line from 0 to Y intensity in X position for each Y value.
I tried to use line but this function connect lines.
line([setX,setX],[zeros(size(peaks)) peaks])
Where setX is a vector with X axis peaks is a vector with Y axis
I want to have eg. 100 vertical lines not connected.

Réponse acceptée

Inge
Inge le 7 Oct 2013
I think you can solve the problem with function STEM: click

Plus de réponses (0)

Catégories

En savoir plus sur Genomics and Next Generation Sequencing dans Help Center et File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by