I fixed the indentation problem and now the sageblock output is
alined.  Thank you very much.  However, my main question was how to
get the actual slope field plot on my latex document.  \sageplot{p}
produces a box with two question marks in it.


On Aug 25, 7:34 pm, Dan Drake <dr...@kaist.edu> wrote:
> On Wed, 25 Aug 2010 at 04:43PM -0700, Sony wrote:
> > Can you plot a slope field in TexShop and generate a latex output?
>
> > For example, using something like:
>
> > \begin{sageblock}
> >  var('y')
> > p=plot_slope_field(x-y^2,(x,0,5),(y,0,6))
> > \end{sageblock}
>
> > \sageplot{p}
>
> > Of course, the above does not work, hence the question.
> > I appreciate any advise.
>
> Your sageblock environment isn't indented correctly -- you need to use
> the same indentation for both lines. It should work if you fix the
> indent.
>
> Dan
>
> --
> ---  Dan Drake
> -----  http://mathsci.kaist.ac.kr/~drake
> -------
>
>  signature.asc
> < 1KViewDownload

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to