Skip to main content
added 66 characters in body
Source Link

I'm trying to insert a plot into another one by using:

...
im = plt.imread(get_sample_data('Inset.eps', asfileobj=True),format='eps')
newax = f.add_axes([0.14, 0.30, 0.45, 0.40])
newax.imshow(im,interpolation='none')
newax.axis('off')
plt.savefig('FinalPlot.eps',format='eps',dpi=1000,bbox_inches='tight')

The problem is that everything in FinalPlot.eps has good resolution but the inset, it has a really poor quality. Do you know how to improve the quality of the inset?

Image example

I'm trying to insert a plot into another one by using:

...
im = plt.imread(get_sample_data('Inset.eps', asfileobj=True),format='eps')
newax = f.add_axes([0.14, 0.30, 0.45, 0.40])
newax.imshow(im,interpolation='none')
newax.axis('off')
plt.savefig('FinalPlot.eps',format='eps',dpi=1000,bbox_inches='tight')

The problem is that everything in FinalPlot.eps has good resolution but the inset, it has a really poor quality. Do you know how to improve the quality of the inset?

I'm trying to insert a plot into another one by using:

...
im = plt.imread(get_sample_data('Inset.eps', asfileobj=True),format='eps')
newax = f.add_axes([0.14, 0.30, 0.45, 0.40])
newax.imshow(im,interpolation='none')
newax.axis('off')
plt.savefig('FinalPlot.eps',format='eps',dpi=1000,bbox_inches='tight')

The problem is that everything in FinalPlot.eps has good resolution but the inset, it has a really poor quality. Do you know how to improve the quality of the inset?

Image example

Source Link

Losing resolution inset plot Python

I'm trying to insert a plot into another one by using:

...
im = plt.imread(get_sample_data('Inset.eps', asfileobj=True),format='eps')
newax = f.add_axes([0.14, 0.30, 0.45, 0.40])
newax.imshow(im,interpolation='none')
newax.axis('off')
plt.savefig('FinalPlot.eps',format='eps',dpi=1000,bbox_inches='tight')

The problem is that everything in FinalPlot.eps has good resolution but the inset, it has a really poor quality. Do you know how to improve the quality of the inset?