Axis scale

This is the place for queries that don't fit in any of the other categories.

Axis scale

Postby Kingmaster » Wed Mar 26, 2014 2:19 pm

I've just started to learn how to program in Python and how to use Spyder.
When I plot my graph I have 10 values in the x-axis, but when i zoom, i can see only 8 or 7 values. How can I fix the number of values in Python to have exactly 10 values in x-axis each time I zoom the graph?
Last edited by stranac on Wed Mar 26, 2014 2:25 pm, edited 1 time in total.
Reason: First post lock.
Posts: 1
Joined: Wed Mar 26, 2014 1:53 pm

Re: Axis scale

Postby tnknepp » Wed Apr 23, 2014 5:17 pm

I don't know that such an option exists. Just specify your axes in your code.
Python: 2.7 via Anaconda
Numpy: 1.7
Pandas: 0.11
OS: Windows 7
IDE: Spyder/IPython
User avatar
Posts: 153
Joined: Mon Mar 11, 2013 7:41 pm

Return to General Coding Help

Who is online

Users browsing this forum: No registered users and 11 guests