Re: [sage-support] Data Visualization

2011-02-23 Thread Ryan Krauss
I would look into the matplotlib (i.e. pylab) documentation, see http://matplotlib.sourceforge.net/. matplotlib is the plotting backend used by sage. It is a numeric python module. maskedarrays may help with excluding certain data. You can also integrate matplotlib with most gui python modules

Re: [sage-support] Re: Accentuated characters in axes_label

2011-02-16 Thread Ryan Krauss
Maybe this is a lame workaround, but I save all my matplotlib plots as eps and then run epstopdf. I actually call epstopdf through os.system in a custom save function. I have never had a problem with latex and saving eps. On Wed, Feb 16, 2011 at 9:13 PM, Maxim wrote: > But this workaround seems

Re: [sage-support] Re: how to declare that one variable depends on another for differentiation

2011-02-09 Thread Ryan Krauss
Thanks John. That is much cleaner than my approach. Ryan On Tue, Feb 8, 2011 at 1:34 PM, John H Palmieri wrote: > > > On Tuesday, February 8, 2011 11:03:27 AM UTC-8, Ryan Krauss wrote: >> >> I am a Python user who has made minor use of Maxima on occasion.  I am >> t

[sage-support] how to declare that one variable depends on another for differentiation

2011-02-08 Thread Ryan Krauss
I am a Python user who has made minor use of Maxima on occasion. I am trying to make the switch to Sage. I have a piece of Maxima functionality that I am struggling to make work in Sage. I need to declare that two variables x1 and x2 depend on t. I don't yet know their expressions. For now, I

Re: [sage-support] Re: basic import question

2011-01-25 Thread Ryan Krauss
gt; > On 25 Jan., 13:25, Ryan Krauss wrote: >> So, is there a supported way for the user to append paths to the >> PYTHONPATH in the Sage installation (sage-env)? > > AFAIK, it is not supported to work with your system-wide Python from > within Sage. > > Hence, the supp

Re: [sage-support] Re: basic import question

2011-01-25 Thread Ryan Krauss
So, is there a supported way for the user to append paths to the PYTHONPATH in the Sage installation (sage-env)? On Tue, Jan 25, 2011 at 1:20 AM, Minh Nguyen wrote: > Hi Ryan, > > On Tue, Jan 25, 2011 at 3:10 PM, Ryan Krauss wrote: >> but I am assuming there has to be a better wa

[sage-support] Re: basic import question

2011-01-24 Thread Ryan Krauss
export PYTHONPATH and added one of my own dirs: if [ -d "$SAGE_ROOT/local/lib/python" ]; then PYTHONPATH="$SAGE_PATH:$SAGE_ROOT/local/lib/python:$HOME/git/krauss_misc" && export PYTHONPATH but I am assuming there has to be a better way. Thanks, Ryan On

[sage-support] basic import question

2011-01-24 Thread Ryan Krauss
I am trying to import my personal python modules into a sage script. These modules are on my PYTHONPATH, but when I try and load the *.sage file within sage, the modules cannot be found. Is there an environment variable or something I need to set? Thanks, Ryan -- To post to this group, send em

[sage-support] problem with "from sage.all import *"

2011-01-24 Thread Ryan Krauss
I am trying to import sage into a python script and am getting this error: ValueError: numpy.dtype has the wrong size, try recompiling Is there an easy way around this? I am running Ubuntu 10.04 and don't really want to install numpy from source. Thanks, Ryan -- To post to this group, send e