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?

Answers (0)

Categories

Products

Asked:

on 7 Dec 2015

Community Treasure Hunt

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

Start Hunting!