Two very random thoughts:
1. You may also have a more global matplotlibrc file somewhere - that
caused me no end of problems reviewing a patch once.
2. I'm not actually sure that matplotlibrc controls the colors of the
lines in plots - this may be set by Sage itself directly. Can you
give the
Simon's solution looks like it would solve what I wanted at the time,
but right now I think I will return to one file, debug everything
(since things are still in a state of flux) then separate it into
several files use a setup.py.
Thanks for the suggestions and insight!
john
--
To post to
On Saturday, July 30, 2011 9:16:10 PM UTC-7, andres.ordonez wrote:
Hi, there's something weird going on with my matplotlibrc file.
Are you talking about the file $HOME/.matplotlibrc? Sage doesn't actually
use that file, as far as I know. Try putting a copy in
$HOME/.sage/matplotlib-1.0.1/
I have these matplotlibrc files:
/etc/matplotlibrc
/home/andres/.matplotlib/matplotlibrc
/home/andres/.sage/matplotlibrc
/usr/local/sage-4.6/local/lib/python2.6/site-packages/matplotlib/mpl-
data/matplotlibrc
I think that the only one that is valid in sage is the last one, /usr/
On Monday, August 1, 2011 9:22:58 AM UTC-7, andres.ordonez wrote:
I have these matplotlibrc files:
/etc/matplotlibrc
/home/andres/.matplotlib/matplotlibrc
/home/andres/.sage/matplotlibrc
/usr/local/sage-4.6/local/lib/python2.6/site-packages/matplotlib/mpl-
data/matplotlibrc
I
On Aug 1, 1:28 pm, John H Palmieri jhpalmier...@gmail.com wrote:
On Monday, August 1, 2011 9:22:58 AM UTC-7, andres.ordonez wrote:
I have these matplotlibrc files:
/etc/matplotlibrc
/home/andres/.matplotlib/matplotlibrc
/home/andres/.sage/matplotlibrc
Indeed, lines.thickness in matplotlibrc has no effect in the plots.
Is it possible to just modify line.py and get the specified color in
the plots?
If so, I have several line.py and am not sure which to modify:
/usr/local/sage-4.6/devel/sage-main/.hg/store/data/sage/plot/line.py.i
On 8/1/11 12:33 PM, andres.ordonez wrote:
Indeed, lines.thickness in matplotlibrc has no effect in the plots.
Is it possible to just modify line.py and get the specified color in
the plots?
Try doing:
plot.options['rgbcolor']=(0,0,0)
That sets the Sage default color (what others pointed out
On Jul 31, 10:35 pm, D. S. McNeil dsm...@gmail.com wrote:
We would like to know if certain sums of modular symbols span the
space.
Is this the sort of thing you had in mind?
sage: M=ModularSymbols(11,2);M
Modular Symbols space of dimension 3 for Gamma_0(11) of weight 2 with
sign 0 over
Great! I didn't know about sage.init. Thanks!
On Aug 1, 2:39 pm, Jason Grout jason-s...@creativetrax.com wrote:
On 8/1/11 12:33 PM, andres.ordonez wrote:
Indeed, lines.thickness in matplotlibrc has no effect in the plots.
Is it possible to just modify line.py and get the specified color in
On Aug 1, 3:39 pm, Jason Grout jason-s...@creativetrax.com wrote:
On 8/1/11 12:33 PM, andres.ordonez wrote:
Indeed, lines.thickness in matplotlibrc has no effect in the plots.
Is it possible to just modify line.py and get the specified color in
the plots?
Try doing:
On 8/1/11 4:05 PM, William Stein wrote:
On Mon, Aug 1, 2011 at 2:28 PM, Spencermalibuworkc...@gmail.com wrote:
Alright, it took a lot of rewrites but the optimizer is up and
running, and its really quick (the slow part is looking up and
processing stock info). It allows for one to put in an
On Mon, Aug 1, 2011 at 4:43 PM, Jason Grout jason-s...@creativetrax.com wrote:
On 8/1/11 4:05 PM, William Stein wrote:
On Mon, Aug 1, 2011 at 2:28 PM, Spencermalibuworkc...@gmail.com wrote:
Alright, it took a lot of rewrites but the optimizer is up and
running, and its really quick (the
Thanks for this. There still seems to be a manual step in going from,
say,
s1 = 2*(1,8) - (1,9)
to
s1 = 2*b[1] - b[2]
I may be misunderstanding you. Are you saying you want to enter the line
s1 = 2*(1,8)-(1,9)
verbatim and have it work? That I don't think I can do (unless you're
.. I suppose you could even add a convenience function
def b(*x):
return m[x]
after which
sage: s = [2*b(1,8) - b(1,9),
: -b(1,0) + b(1,9),
: -b(1,0) + b(1,8)]
sage: s
[2*(1,8) - (1,9), -(1,0) + (1,9), -(1,0) + (1,8)]
would work.
Doug
--
To post to this group, send
On Aug 1, 11:10 pm, D. S. McNeil dsm...@gmail.com wrote:
Thanks for this. There still seems to be a manual step in going from,
say,
s1 = 2*(1,8) - (1,9)
to
s1 = 2*b[1] - b[2]
I may be misunderstanding you. Are you saying you want to enter the line
s1 = 2*(1,8)-(1,9)
Hi,
I just started using Sage, and I have a question about variable names.
I skimmed through the documentation but could not find any answers.
Is it possible to used latex tags in variable names so when I do
show(var) I get the latex output?
For example, I want to do:
p_1star = var('p_1^*')
On Monday, August 1, 2011 8:28:57 PM UTC-7, Joon wrote:
Hi,
I just started using Sage, and I have a question about variable names.
I skimmed through the documentation but could not find any answers.
Is it possible to used latex tags in variable names so when I do
show(var) I get the
18 matches
Mail list logo