Thanks for your response. It seems that I was unable to convey the issue at hand. For Mathematica, I can issue a Plot[] command, followed by an Export[] and then use \includegraphics to use the generated plot (the its not good enough section in the SageTeX manual).
I cannot do the same for matlab. Sage does have a matlab interface which (presumably) can accept textual commands. On Feb 28, 12:13 am, Dan Drake <[email protected]> wrote: > I'll skip your first question for the moment, since I'm not sure about > the answer there. > > On Sun, 27 Feb 2011 at 12:59PM -0800, sm123123 wrote: > > Second question: > > > Is there a way to embed results of a matlab calculation using SageTeX > > (especially plots) ? For Mathematica, I can generate a plotfile and > > use \includegraphics to include the graphic. However, any attempt to > > use matlab's plot() command leads to a syntax error via sage. > > In order to use SageTeX to get a Matlab plot into your document, you > need to somehow get Sage to use Matlab to make the plot. I don't think > we have any kind of interface for that, so you would need to save the > plot from Matlab directly, just as you do with Mathematica. > > Dan > > -- > --- Dan Drake > ----- http://mathsci.kaist.ac.kr/~drake > ------- > > signature.asc > < 1KViewDownload -- 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
