How do you get "plot" to graph a line?

I've been trying to use plot(x, y, '-r-) to create a graph, but when I run it it returns a blank sheet. What is missing, or how do I actually get a graph?

Antworten (0)

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Hilfe-Center und File Exchange

Produkte

Gefragt:

am 7 Dez. 2015

Community Treasure Hunt

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

Start Hunting!

Translated by