Hi premkiran, On Mon, Dec 6, 2010 at 12:36 AM, premkiran <[email protected]> wrote: > I have used Plot function to plot 2D functions.The problem is I am > unable to view the plotted function either as png file or as pdf > file .i have used the below mentioned attribute for it. > g.saveimage(outfile="C:\users\prem\desktop\kir", format='pdf', > size=(600, 500)) > but there is no file being created on desktop with that name.Also I > tried changing the format to doc ,create a work file and see whether > the plotting is being pasted in theis word file but in vain.plese > suggest where i can see the plot. > THANK YOU
I just did on linux: In [3]: g = Plot(x**2) In [4]: g.saveimage(outfile="a.png", format="pdf", size=(600, 500)) and the a.png appeared in the current directory, see the attachment. Does it print any errors? Maybe it doesn't work on windows. Or maybe try to use "a.png" extension, there might be some bug in the format parameter. Ondrej -- You received this message because you are subscribed to the Google Groups "sympy" group. 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/sympy?hl=en.
<<attachment: a.png>>
