Clear Filters
Clear Filters

Plot with symbolic value on x axis

8 views (last 30 days)
Cosimo Mercuro
Cosimo Mercuro on 17 Feb 2020
Answered: darova on 17 Feb 2020
I've created this live script:
I'd like to plot a graph where on the x axis there are the "symbolic" values of t variable noun: 0, T/8, T/4 and so on , until T and on the y-asxis there are 0, rad2/2, and so on.
Is this possible?
Thanks in advance

Answers (1)

darova on 17 Feb 2020
Use numeric values to plot
Use symbolic values to make labels
h = plot(x,y)
syms T
x1 = x*T;


Find more on 2-D and 3-D Plots in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!