How to divide x and y axis in graph ?
显示 更早的评论
I'm have the value of X and value of Y by using this i can plot a graph but i want divide that point with some value
Note: x=9, y=8; how can i divide with the value 1 or some number like (1/(X,Y))
回答(2 个)
Azzi Abdelmalek
2014-7-15
plot(1./x,1./y)
Ben11
2014-7-15
0 个投票
Do you mean plot a different axis which is n times shorter? Doing x/n and/or y/n should do it. Maybe I misunderstood your question though could you be clearer?
类别
在 帮助中心 和 File Exchange 中查找有关 2-D and 3-D Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!