I'm trying to use sagetex to put 3d-surfaces in latex document :
p, li { white-space: pre-wrap; }
\begin{sageblock}
var('u,v')
h= lambda u,v: u^2 + 2*v^2
f=plot3d(h, (u,-1,1), (v,-1,1))
f.show()
\end{sageblock}
\sageplot[][png]{f}
The \sageplot function doesn't work here ...
The file plot-0.png and plot-0.eps are not created ...
Same problem with implicit3dplot, ...
If anybody knows what to do ....
--- En date de : Mer 3.3.10, Adrián <[email protected]> a écrit :
De: Adrián <[email protected]>
Objet: [sage-support] Re: Sagetex issue
À: "sage-support" <[email protected]>
Date: Mercredi 3 mars 2010, 4h35
Thanks, that's just what I needed, just the load instruction. I
finally got
it to work somehow.
Although it seems kind of weird that I get an error message after
I load the .sage file in the console, it always ends saying
IOError: [Errno 2] No such file or directory: 'sagetex_practice.sage'
but it doesn't matter since the .sout file always appears with an
extension
.sout.tmp in my home directory. Thanks a lot Berkin.
On 2 mar, 01:50, Berkin Malkoc <[email protected]> wrote:
> > The question I have is, how do I get SAGE to work out the resulting
> > .sage file that Latex creates after I compile it? I've read the
> > information
>
> In sage console you can simply run "load your_file.sage"
>
> On Tue, Mar 2, 2010 at 2:13 AM, Minh Nguyen <[email protected]> wrote:
> > Hi,
>
> > On Tue, Mar 2, 2010 at 10:18 AM, Adrián <[email protected]> wrote:
>
> > <SNIP>
>
> > > Any help would be more than welcome.
>
> > Here are three sources of information on installing/using SageTeX:
>
> > * Make SageTeX known to TeX
> >http://www.sagemath.org/doc/installation/sagetex.html
>
> > * Installing and using SageTeX
> >http://www.sagemath.org/doc/reference/other/sagetex.html
>
> > * Using SageTeX
> >http://www.sagemath.org/doc/tutorial/sagetex.html
>
> > Another source of information is the README file of the SageTeX spkg.
> > Get hold of the SageTeX spkg, i.e. the compressed tarball
> > sagetex-2.2.3.spkg under this directory of your local Sage source
> > installation
>
> > SAGE_ROOT/spkg/standard
>
> > or from this URL
>
> >http://modular.math.jmu.edu/spkg/standard/sagetex-2.2.3.spkg
>
> > Uncompress that spkg using something like the following
>
> > tar -jxf sagetex-2.2.3.spkg
>
> > Then read the file
>
> > sagetex-2.2.3/src/README
>
> > --
> > Regards
> > Minh Van Nguyen
>
> > --
> > To post to this group, send email to [email protected]
> > To unsubscribe from this group, send email to
> > [email protected]<sage-support%[email protected]>
> > For more options, visit this group at
> >http://groups.google.com/group/sage-support
> > URL:http://www.sagemath.org
--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org
--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org