Plot() is not working

Hi,
I am trying to plot a simple plot. I copy pasted the code from "doc plot" page but there is no plot showing, what am I missing here? see picture below

3 Comments

Can you show the output of
which plot -all
>> which plot -all
built-in (C:\Program Files\MATLAB\R2020a\toolbox\matlab\graph2d\plot)
C:\Program Files\MATLAB\R2020a\toolbox\matlab\polyfun\@alphaShape\plot.m % alphaShape method
C:\Program Files\MATLAB\R2020a\toolbox\matlab\polyfun\@polyshape\plot.m % polyshape method
C:\Program Files\MATLAB\R2020a\toolbox\matlab\bigdata\@tall\plot.m % tall method
C:\Program Files\MATLAB\R2020a\toolbox\matlab\graphfun\@digraph\plot.m % digraph method
C:\Program Files\MATLAB\R2020a\toolbox\matlab\graphfun\@graph\plot.m % graph method
C:\Program Files\MATLAB\R2020a\toolbox\stats\classreg\@LinearModel\plot.m % LinearModel method
C:\Program Files\MATLAB\R2020a\toolbox\matlab\timeseries\@timeseries\plot.m % timeseries method
lol, just had to restart MATLAB.. xD

Sign in to comment.

Answers (0)

Products

Asked:

on 1 Nov 2020

Community Treasure Hunt

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

Start Hunting!