How can I write the equation for draw x-axis ?
3 views (last 30 days)
Show older comments
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 .
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/342565/image.png)
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.
Answers (1)
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)'})
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!