[Matplotlib-users] axis tick lines do not display, keep tick labels

2014-05-23 Thread Isidora
Hi, I am trying to plot X axis with major ticks set at the beginning of the month and minor ticks set on day 15th of the month. I'd like to have tick lines and no tick labels for the major axis, and tick labels but no tick lines for minor axis. Could somebody let me know what I am doing wro

[Matplotlib-users] month locator makes plot dissapear

2014-05-22 Thread Isidora
Hi, the code plots a daily average of a parameter through each day of one year. When adding the xaxis ticks to show Months instead of the day number (1...365), the plot of the parameter disappear. Leaving xticks for each day displays plot just fine. Thank you for any advice on how to solve my mis

[Matplotlib-users] matplotlib - image size issue

2011-10-07 Thread Isidora
Hi, I am trying to create a chart using a given file as background, drawing some curves on the map, and saving an 800x600 PNG. Code Snipet: map = Basemap( ) pilImg=Image.open('mybkgmap.gif') rgba = pil_to_array(pilImg) map.imshow(rgba,interpolation='nearest') # showing backgr

[Matplotlib-users] matplotlib - fill open path inside U.S. borders - set_clip_path appro ach

2011-10-03 Thread Isidora
Hi again, still trying to accomplish the filling of certain paths only inside U.S. It ocurred to me that set_clip_path could work but so far, I have not been able to show the curve in the map. Could someone point out what is missing? Thanks #!/usr/bin/env python """http://www.scipy.org/Coo

[Matplotlib-users] matplotlib - fill open path inside U.S. borders + sample map

2011-09-30 Thread Isidora
Hi Jeff, I computed the convex hull for the points in paths returned by Basemap.drawcountries() and I got the attached map (convex hull algorithm: http://www.scipy.org/Cookbook/Finding_Convex_Hull). You can see the magenta convex hull polygon with U.S. border lines drawn in black as a reference

[Matplotlib-users] matplotlib - fill open path inside U.S. borders + sample map

2011-09-28 Thread Isidora
Hi Filipe, I have just seen your answers. I am trying to plot on a background GIF map, lines like the ones you can see in http://www.spc.noaa.gov/products/outlook/day1probotlk_2000_wind.gif. I can plot the lines as you see them in this link without a problem. However, because those lines a

[Matplotlib-users] Fw: matplotlib - fill open path inside U.S. borders + sample map

2011-09-27 Thread Isidora
The attached map shows plotted fill paths whose filling extends only to the U.S. borders. Is there any way I could accomplish something like it using Basemap? Thanks -- Forwarded Message -- From: "Isidora" To: matplotlib-users@lists.sourceforge.net Subject: matplot

[Matplotlib-users] matplotlib - fill open path inside U.S. borders

2011-09-26 Thread Isidora
Hi, I am trying to plot filled paths over a U.S. map. I plot the given paths, but since these are not closed paths, the filling is truncated at a line drawn between last and first point in the path. I want to extend the path to the United States border instead. I am no expert in matplotlib

[Matplotlib-users] PIL + pyplot.savefig() size change

2011-09-22 Thread Isidora
Hi, I am new to matplotlib so I may not have found the right answer because I am looking in the wrong places. I wrote a script to draw lines on a 800x600 pixels GIF background map. The output image I get is 620x450. Could someone let me know what I am doing wrong? Code Snippet: map = Basemap

[Matplotlib-users] fill_between() path and country border paths

2011-09-20 Thread Isidora
I am plotting an open fill path over a U.S. map for which I'd like to extend the filling all the way to the closest border of U.S. I thought I could use fill_between() my path and the path in the borders path list returned by drawcountries() that is closest to mine. So, I've been looking for e