How to display axis numbers inside the figure area

Good morning All,

I am creating figures that need to overlay with maps, so disabling the box
around my figures is a must. (need no title, legend, etc...) I have my plain
figure now without surroundings but now need the axis numbers "on" the grid
inside the plot area (like latitude and longitude numbers appear next to the
grids on maps)... I cannot find a function or an argument for the axis() or
axes() functions that translates axes into the plot area... Any ideas
please?

Thank you so much,
Angelica.

···

--
View this message in context: http://old.nabble.com/How-to-display-axis-numbers-inside-the-figure-area-tp26578109p26578109.html
Sent from the matplotlib - users mailing list archive at Nabble.com.

Hi Angelica,

I have to admit I don't get the point of what you want to do and maybe this is
true for others too. I tried something (see attachement), but maybe it is
better if you could set up an small example script or draw a picture of what
you want to see finally.

Kind regards,
Matthias

axes_numbers.png

axes_numbers.py (249 Bytes)

···

On Monday 30 November 2009 18:09:29 Pekeika wrote:

Good morning All,

I am creating figures that need to overlay with maps, so disabling the box
around my figures is a must. (need no title, legend, etc...) I have my
plain figure now without surroundings but now need the axis numbers "on"
the grid inside the plot area (like latitude and longitude numbers appear
next to the grids on maps)... I cannot find a function or an argument for
the axis() or axes() functions that translates axes into the plot area...
Any ideas please?

Thank you so much,
Angelica.

Matthias,

Thanks for answering. I already solved my problem. I found that there is no
function to display on grids the value of the axis (bad when you need to
display lat, longitude)... so I made it myself using the text() function and
using yticks() and xticks() along with all the formatting properties, all
inside of the text function...

Its pretty nice now,
Angelica.

···

--
View this message in context: http://old.nabble.com/How-to-display-axis-numbers-inside-the-figure-area-tp26578109p26634238.html
Sent from the matplotlib - users mailing list archive at Nabble.com.

Matthias,

And I saw your code now :slight_smile: and it pretty much looks like mine, with some
more or less formatting. Attached is one of my figures where you can see my
result!
http://old.nabble.com/file/p26634326/Spill%2BVerification%2Bof%2Btwenty%2C%2Bhigh%2Bu%2Bagain%2Bafter%2Bchange%2Bpredicted%2Bat%2Btime%2B7.79%2Bdays.jpeg

···

--
View this message in context: http://old.nabble.com/How-to-display-axis-numbers-inside-the-figure-area-tp26578109p26634326.html
Sent from the matplotlib - users mailing list archive at Nabble.com.