[sage-support] LaTeX size/alignment in SAGE plots

2009-12-12 Thread Greg Marks
When I include LaTeX using the text() command in a 2-D plot, the size of the text is not quite what I'd like. For example, on p. 3 of the document here: http://gmarks.co.cc/math_142-02_fall_2009_exam_3_solutions.pdf the sizes of the fractions in the SAGE plot are quite different from the sizes

[sage-support] Re: Plot not working on Mac OS X 10.6.2

2009-12-12 Thread Jason Grout
jason.t.stein wrote: > I recently installed Sage Version 4.2.1 on my MacBook Pro and while > basic symbolic and numeric computation work, simple plots like plot > (x^2, -5, 5) do not work. They don't even produce an error. Any > suggestions? > How are you running Sage (command line or in the note

[sage-support] Plot not working on Mac OS X 10.6.2

2009-12-12 Thread jason.t.stein
I recently installed Sage Version 4.2.1 on my MacBook Pro and while basic symbolic and numeric computation work, simple plots like plot (x^2, -5, 5) do not work. They don't even produce an error. Any suggestions? Thanks for you time. -- To post to this group, send email to sage-support@googlegro

[sage-support] Re: zero

2009-12-12 Thread Jason Grout
Simon King wrote: > Hi Marc! > > On 12 Dez., 15:48, Jason Grout wrote: >> marcW wrote: > [...] >> If you don't care about precision (i.e., all numbers are rounded off to >> 2-3 digits), then you can declare your numbers this way: >> >> sage: R=RealField(15) >> sage: R(pi) > [...] > > Or, if you

[sage-support] Re: zero

2009-12-12 Thread Simon King
Hi Marc! On 12 Dez., 15:48, Jason Grout wrote: > marcW wrote: [...] > If you don't care about precision (i.e., all numbers are rounded off to > 2-3 digits), then you can declare your numbers this way: > > sage: R=RealField(15) > sage: R(pi) [...] Or, if you *do* care about the precision in the c

[sage-support] Re: zero

2009-12-12 Thread Jason Grout
marcW wrote: > hi, i wouldn't know, all I know is that C, Mathematica, php whatever I > used in my life, i never ran into this. > sure, it's about formatted output (the distinction between generic > output and latex(expr) escapes me: I just look at the notebook). > A filter which processes the resu

[sage-support] Re: zero

2009-12-12 Thread marcW
hi, i wouldn't know, all I know is that C, Mathematica, php whatever I used in my life, i never ran into this. sure, it's about formatted output (the distinction between generic output and latex(expr) escapes me: I just look at the notebook). A filter which processes the result to be printed and tr

[sage-support] Re: zero

2009-12-12 Thread Jason Grout
marcW wrote: > thank you, > precision is one thing, but the output gets messy, and the common > assumption that trailing zeros are redundant works fine for me. > I was trying this for a start (but then I stopped in my tracks) You're right that the output gets messy, especially if you don't care

[sage-support] Re: zero

2009-12-12 Thread Jason Grout
ma...@mendelu.cz wrote: > fixed in http://trac.sagemath.org/sage_trac/ticket/7356 > but it is only for latex(expr), right? I thought the poster was asking about generic printing. Jason -- Jason Grout -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe fr

[sage-support] Re: zero

2009-12-12 Thread marcW
very sorry, I ran into this, but I have no clue what to do to with it, as I said I am new to all this. thank you On 11 dec, 19:36, "ma...@mendelu.cz" wrote: > fixed inhttp://trac.sagemath.org/sage_trac/ticket/7356 > > On 11 pro, 19:18, marcW wrote: > > > hi, > > I'm new at this, some experience

[sage-support] Re: zero

2009-12-12 Thread marcW
thank you, precision is one thing, but the output gets messy, and the common assumption that trailing zeros are redundant works fine for me. I was trying this for a start (but then I stopped in my tracks) Coef =var('a, b, alpha_A, alpha_B, beta_A, beta_B, k_A, k_B, J, R_A, R_B') values ={a: 15,b: