Hi Asma,
Le 05/03/2014 21:19, Asma Riyaz a écrit :
I am trying to merge a heat map(matplotlib) with a tree(.png), but the .png does not plot as needed or for that matter cannot be seen easily. Here is my code:

####### CODE
 [....]
img = ht_ax.imshow(data, cmap=cmap, interpolation='none',vmax=threshold)
   [....]

How can I make the resolution of the .png image better OR for that matter is there a better solution to merge these together?

I see the imshow call to plot the matrix but not the one you use to plot the png image. Could it be that the poor image rendering is due to a bad choice for the interpolation param ?

best,
Pierre
------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to