Hmmm, this is actually an interesting problem. I am also a meteorologist, so this is interesting to me.
I haven't figured it out yet, but here are my thoughts: 1) There are the "^" triangle markers as well as "2" tri_up markers: http://nbviewer.ipython.org/github/WeatherGod/AnatomyOfMatplotlib/blob/master/AnatomyOfMatplotlib-Part3-HowToSpeakMPL.ipynb#Markers 2) The markevery property should be set to a float value to have the markers spaced out evenly along the line regardless of aspect ratios and zooming (note, this assumes that the line is defined with many vertices to give a smooth appearance). Problem: Using markers and markevery in a Line2D object has an inherent limitation: all of the markers will be drawn in the same orientation. So, we can't orient the markers along the normal of the line. Also, there is no pre-defined marker for half-circles, so this approach wouldn't work well for warm-fronts/dry-lines/etc. I'll have to see if a PolygonCollection + Line2D might be the right approach here... Ben Root On Fri, Oct 16, 2015 at 7:22 AM, Phil Cummins <phil.cumm...@anu.edu.au> wrote: > Hi, > > I would like to plot "toothed" curves using basemap. These are curves with > triangles on one side, that are used to plot pressure fronts in meteorology > or thrust faults in geology. You need to be able to say which side of the > curve the triangles should appear on. Does anyone know whether such curves > can be plotted using mtplotlib/basemap? > > Thanks, > > - Phil > > Australian National University > > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Matplotlib-users mailing list > Matplotlib-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > >
------------------------------------------------------------------------------
_______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users