how can i use plot functions? they are all unvariable.

2 Comments

Could you be more specific ? What is your problem exactly ?
I wrote the plot function but there is nothing.can you see the picture that i sent? i can't chose any of plot function.

Answers (1)

MOHIT
MOHIT on 31 Oct 2017
Edited: MOHIT on 31 Oct 2017
Give a value to a variable of your choice and then select the same variable in the workspace (double-click) to see it in "Variables" (step3). Click on the plot menu and plot it.

4 Comments

Your step 3 should not be necessary. I believe selecting one or more variables in the Workspace component should be enough to enable the appropriate plot types in the Plots tab of the Toolstrip.
To amplify: you cannot select the plot types unless you have a variable selected.
thank you for your answers. I did these steps and plot types are working right except plot function.I mean 'pie' or 'area' or 'bar' functions are working but 'plot' function is not. Can you help me about this?
When I try in R2017b, if I click in "workspace" on the name of a variable that is a scalar, then none of the plot types are selectable, but if I click on the name of a variable that is a non-scalar numeric value, then all of the plot types are selectable.

This question is closed.

Products

Asked:

on 31 Oct 2017

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!