How can I write the equation for draw x-axis ?
3 次查看(过去 30 天)
显示 更早的评论
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 个评论
dpb
2020-8-6
Why? TMW/MATLAB gives you tools for the job, why not use them?
Otherwise, just ticks and ticklabels are your recourse.
回答(1 个)
Monisha Nalluru
2020-8-13
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Axis Labels 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!