# How to plot a continuous graph from distinct points.

3 visualizzazioni (ultimi 30 giorni)
sourav malla il 27 Giu 2019
Commentato: Steven Lord il 29 Ott 2019
How to plot a continuous graph by joining the distinct points created by two array of unqual length.
Suppose:-
x=[1 3 5 6]
y=10
plot(x,y,'o')
here you will get some distinct point graph but i want a continuous one.
Help me that.
thanks
##### 0 CommentiMostra -2 commenti meno recentiNascondi -2 commenti meno recenti

Accedi per commentare.

### Risposta accettata

Torsten il 27 Giu 2019
x=[1 3 5 6];
y=10*ones(size(x));
plot(x,y,'o')
##### 1 CommentoMostra -1 commenti meno recentiNascondi -1 commenti meno recenti
sourav malla il 27 Giu 2019
Thanks it worked out but you need to remove the marker..
Thanks

Accedi per commentare.

### Più risposte (1)

Menatallah Ayman il 29 Ott 2019
s(x) = Im{e(−x+i2πx)}.
##### 1 CommentoMostra -1 commenti meno recentiNascondi -1 commenti meno recenti
Steven Lord il 29 Ott 2019
This doesn't seem related to the original question. Please ask it as a separate question and include more details about what you're trying to do and/or the problem you're experiencing.

Accedi per commentare.

### Categorie

Scopri di più su 2-D and 3-D Plots in Help Center e File Exchange

R2019a

### Community Treasure Hunt

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

Start Hunting!

Translated by