Hi users/developpers, just started using SAGE a week ago and I'm amazed by it's funcionality. Anyhow what I'm missing is an easy way to plot and fit data. At the moment I'm using the gnuplot module (from "sage -optional"). But I lack the possibility to easy manipulate input / output (fit parameters in particular) data. There's been a suggestion to use R http://groups.google.com/group/sage-devel/browse_thread/thread/d920f1ba1f28aa44, but after rewriting the import loop to fit the particular '.dat' file format he's telling me 'X11 not available' instead of producing the plot.
What I'd like to have would be the data as a variables (something like "data = readdata('.dat'); a,b = var('a b'); f(x) = a+ b*x; a,b = fit (data,f,(a,b)); ffit(x) = a+ b*x ") and the plot as a graphical object, so I could do stuff like "d = plothisto(data) + text('$\textbf {labels etc}$') + plot(ffit) ; d.show()". Are there any attempts/ scripts known that go into that direction? --~--~---------~--~----~------------~-------~--~----~ 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 URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---