Hi,
I found this old thread discussing the possibility of placing un-
resampled images in PS, PDF and SVG. It was questioned weather there
were any potential users for such a feature to justify the effort. If
it makes a difference, here is one user who very much welcome it.
I need to overlay p
I've looked into this some more, and while pcolor draws pixels
inefficiently as polygons, pcolorfast does appear to be writing the
data as a bitmap into the eps file, so this is closer to what I need.
However, while this works great with the SVG driver, it seems that
pcolorfast still produce
The problem with pcolor is that it draws all the pixels as polygons,
which is very inefficient in terms of file size. For example,
import matplotlib
matplotlib.use('PS')
from matplotlib.pyplot import *
import numpy as np
image = np.random.random((100,100))
fig = figure(figsize=(4,4))
ax = fig
On Tue, Mar 31, 2009 at 2:56 PM, Thomas Robitaille
wrote:
> Hello,
>
> I am using matplotlib to create postscript and SVG files. I am
> currently using imshow to show the contents of an array, but this
> means that when saving vector graphics files, matplotlib resamples the
> image/array onto a fi
Hello,
I am using matplotlib to create postscript and SVG files. I am
currently using imshow to show the contents of an array, but this
means that when saving vector graphics files, matplotlib resamples the
image/array onto a finer grid. What I would like, is for code such as
this:
import