Monday, 27 June 2011

does this sound like an overkill?

100 combined LoC for a python script that builds graphs...

Note: if you're planning to build something like this with matplot don't use pyplot.contour or .contourf unless you want to get some serious headache. It's easier to use pyplot.fill (fillx, etc.). I should've discovered it earlier


[update] 250-something LoC

3 comments:

  1. That's definitely not a contour plot, so, yes, I wouldn't ever try to generate it using something designed for contour plots.

    ReplyDelete
  2. (Sorry, I'll try to start posting here rather than replying to the automatic email I get. This is what I wrote in the last email.)


    Matlab seems to call this kind of thing an area plot:

    http://www.mathworks.com/help/techdoc/ref/area.html
    http://www.mathworks.com/help/techdoc/creating_plots/f10-19972.html#f10-1833


    Is this a similar thing with matplotlib?

    http://stackoverflow.com/questions/2225995/how-can-i-create-stacked-line-graph-with-matplotlib


    Chris

    ReplyDelete