Hi there,
I want to examine a vector field and therefore i used "quiver" to
visualize said field:
> import numpy as np
> import matplotlib.pyplot as plt
>
> # points
> x, y = np.meshgrid(np.arange(0, 2*np.pi, 0.1),
>np.arange(0, 1*np.pi, 0.1))
> # derivatives
> dx = -2*np.sin
Hi,
Maybe a bad idea to ask a question on x-mas. Well, I hope it’s not that
unpolite to push one‘s questions. :)
Basically I just want to set a fixed width/height on my figure. That
should be possible?
Mario Fuest schrieb am Sat, 24. Dec 16:42:
> Hi there,
>
> I want to examine a vec
Hi there,
Currently i use these commands to layout and save my figures:
> figure
> ...
> gca.set_aspect('equal')
> gca.autoscale(tight=True)
> ...
> plt.savefig('fpp.png', bbox_inches='tight', pad_inches=0)
I would like to set the width of this png file, how to do that? If
savefig() does n
Hi,
Sorry for the late reply.
Tony Yu schrieb am Tue, 03. Jan 17:07:
> You can try
>
> >>> ax.set_aspect('equal')
> >>> ax.autoscale(tight=True)
>
> The order doesn't seem to matter.
That works well, thank you! :)
Kind regars, Keba.
--
Hi there,
John Hunter schrieb am Wed, 29. Feb 07:04:
> On Feb 28, 2012, at 4:03 PM, Benjamin Root wrote:
> > The size of the PNG will be based on the size of your figure object. When
> > you create your figure, you can pass a figsize kwarg which takes a tuple of
> > width, height in inches (d