How to divide x and y axis in graph ?

40 views (last 30 days)
Matlab111
Matlab111 on 15 Jul 2014
Answered: Ben11 on 15 Jul 2014
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))

Answers (2)

Azzi Abdelmalek
Azzi Abdelmalek on 15 Jul 2014
plot(1./x,1./y)

Ben11
Ben11 on 15 Jul 2014
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?

Categories

Find more on Graph and Network Algorithms in Help Center and File Exchange

Tags

No tags entered yet.

Community Treasure Hunt

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

Start Hunting!

Translated by