sizes exactly by making the figure the right size in the first place.
Many thanks,
Jeff
|| Jeff Klukas, Physics
|| University of Wisconsin
|| http://jeff.klukas.net
-
import matplotlib.pyplot as plt
fig = plt.figure(figsize=(6,4))
plt.plot(range(20), range(20
On Sun, Aug 21, 2011 at 1:01 PM, Jouni K. Seppänen j...@iki.fi wrote:
Jeff Klukas klu...@wisc.edu writes:
File
/Library/Frameworks/EPD64.framework/Versions/7.1/lib/python2.7/site-packages/matplotlib/dviread.py,
line 727, in _register
assert encoding is None
AssertionError
On Tue, Aug 16, 2011 at 4:22 AM, Damon McDougall
d.mcdoug...@warwick.ac.uk wrote:
Hi Jeff,
I am able to run the tex_demo.py with no problems and I can create
output files using the Agg backend. When I try to use the PDF
backend, however, I get an error which stems from dviread.py (pasted
(pasted
below). Any thoughts on what could be going wrong?
Thanks!
Jeff
|| Jeff Klukas
|| Research Assistant (Physics), University of Wisconsin
|| jeff.klukas@gmail | jeffyklukas@aim | jeffklukas@skype
|| http://hep.wisc.edu/~jklukas/
Traceback (most recent call last):
File tex_demo.py, line 32
On Mon, Aug 15, 2011 at 10:00 PM, Damon McDougall
d.mcdoug...@warwick.ac.uk wrote:
Hi Jeff,
I am able to run the tex_demo.py with no problems and I can create
output files using the Agg backend. When I try to use the PDF
backend, however, I get an error which stems from dviread.py (pasted
On Thu, Apr 1, 2010 at 11:21 AM, Alex S schmitt.happ...@gmail.com wrote:
Hi there,
I'm trying to change the font default on my graph to New Century Schoolbook.
I'm trying to do this by editing the matplotlibrc file. Unfortunately,
although I'm able to change the font.family, I can't figure
',
color=[(.5, 0., 0., 1.), (0., .5, 0., 1.),])
P.show()
---
Many thanks,
Jeff
|| Jeff Klukas, Research Assistant, Physics
|| University of Wisconsin -- Madison
|| jeff.klu...@gmail | jeffyklu...@aim | jeffklu...@skype
|| http://www.hep.wisc.edu/~jklukas
I was not aware of color cycles, but it looks like this is the way to
go about solving my problem.
Below is an example that actually works.
--
import pylab as P
mu, sigma = 200, 25
x0 = mu + sigma*P.randn(1)
x1 = mu + sigma*P.randn(7000)
x2 = mu +
ax.yaxis.set_ticklabels(['first', 'second', 'third', 'fourth']) # This
does absolutely nothing
## End my changes
ax.set_xlabel('X')
ax.set_ylabel('Y')
ax.set_zlabel('Z')
plt.show()
|| Jeff Klukas, Research Assistant, Physics
|| University of Wisconsin -- Madison
|| jeff.klu
The code below works perfectly. I think this should be included as an
mplot3d codex. I'll look into what's required to submit a new example
to the documentation.
Thanks Armin!
|| Jeff Klukas, Research Assistant, Physics
|| University of Wisconsin -- Madison
|| jeff.klu...@gmail | jeffyklu
10 matches
Mail list logo