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
Description: Digital signature