MATLAB Answers

How can I write the equation for draw x-axis ?

2 views (last 30 days)
Khalid Sultan
Khalid Sultan on 6 Aug 2020
Answered: Monisha Nalluru on 13 Aug 2020
I want to write the equation to write the equation of x- axis without use built in funcction (i.e.dtenum and datetime)? to reach to this figure .

  1 Comment

dpb on 6 Aug 2020
Why? TMW/MATLAB gives you tools for the job, why not use them?
Otherwise, just ticks and ticklabels are your recourse.

Sign in to comment.

Answers (1)

Monisha Nalluru
Monisha Nalluru on 13 Aug 2020
xlabel function can be used for the requirement
You can use something like this
xlabel({'Physical=sin(2\pit/23)','Emotional= sin(2\pit/28','Intellectual=sin(2\pit/33)'})


Sign in to comment.

Community Treasure Hunt

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

Start Hunting!

Translated by