[sage-support] Re: Question about plot

2012-03-03 Thread Jason Grout
On 3/3/12 12:50 PM, juaninf wrote: Dears members I need axes_labels in vertical and horizontal form in side sideways od axis, how make this?. example http://www.personal.psu.edu/egp11/Eric_Paterson/Blog/Entries/2009/11/18_Open-Source_alternatives_for_MATLAB_in_teaching_and_research_files/ericPlo

Re: [sage-support] Re: Question about plot

2012-02-24 Thread Juan Grados
I fix this, thanks by your time 2012/2/24 Juan Grados > Yes in console terminal, when i make this > > p1 = plot(spline(pattersonCpb), > (__builtin__.max(pattersonCpb)[0],__builtin__.min(pattersonCpb)[0]))+points(pattersonCpb) > show(p1) > the plot work fine, but when i make this load a extern fi

Re: [sage-support] Re: Question about plot

2012-02-24 Thread Juan Grados
Yes in console terminal, when i make this p1 = plot(spline(pattersonCpb), (__builtin__.max(pattersonCpb)[0],__builtin__.min(pattersonCpb)[0]))+points(pattersonCpb) show(p1) the plot work fine, but when i make this load a extern file *.sage only i get the points. 2012/2/24 Jason Grout > On 2/2

[sage-support] Re: Question about plot

2012-02-24 Thread Jason Grout
On 2/24/12 2:36 PM, Juan Grados wrote: Jason Grout idea is good for me, but I need empiler several "plots", i after use show(plot1+plot2+...). How do this?. Exactly like you said. Make each plot: plot1=plot(spline(pts), (0,5)) ... and then do show(plot1+plot2+...) Jason -- To post to thi

[sage-support] Re: Question about plot

2012-02-23 Thread Jason Grout
On 2/23/12 9:39 PM, Juan Grados wrote: I need smooth line, (interpolation the points), line(vec) plot line without smoth Maybe the spline command would be useful to you? sage: v=[(1,2),(3,4),(6,6),(4,3)] sage: plot(spline(v), (1,6))+points(v) There isn't a smoothing option in list_plot---you

Re: [sage-support] Re: Question about Plot

2011-10-04 Thread Juan Grados
thanks, Jason, John, I've already done with your help 2011/10/4 Jason Grout > On 10/4/11 5:28 PM, juaninf wrote: > >> Hi everyone >> >> I am have 4 vectors, and I want plot 2 graphics in the same place, >> >> vector1 vs vector2 color = red >> vector3 vs vector4 color = yelow >> > > You might fin

[sage-support] Re: Question about Plot

2011-10-04 Thread Jason Grout
On 10/4/11 5:28 PM, juaninf wrote: Hi everyone I am have 4 vectors, and I want plot 2 graphics in the same place, vector1 vs vector2 color = red vector3 vs vector4 color = yelow You might find the various linear algebra tutorials helpful. Here is one I use in my linear algebra class, for ex

[sage-support] Re: Question about Plot

2011-10-04 Thread John H Palmieri
On Tuesday, October 4, 2011 3:28:59 PM UTC-7, juaninf wrote: > > Hi everyone > > I am have 4 vectors, and I want plot 2 graphics in the same place, > > vector1 vs vector2 color = red > vector3 vs vector4 color = yelow > > I'm not quite sure what you mean by plotting one vector against another.

[sage-support] Re: Question about Plot

2008-11-02 Thread Marshall Hampton
I also do not have time to do this myself. The idea of the "manual_plot" is that I might be able to do a seperate command, but for the foreseeable future I will not have the time to understand the current plot command well enough to improve it; I've tried and failed already. Instead, I have ended

[sage-support] Re: Question about Plot

2008-11-01 Thread William Stein
On Sat, Nov 1, 2008 at 10:44 AM, Marshall Hampton <[EMAIL PROTECTED]> wrote: > > This has been irritating for a long time. I have tried to look at > this code too but I find it confusing. I have been reduced to writing > my own code to produce axes (sometimes I need some funny things, like > 2 s

[sage-support] Re: Question about Plot

2008-11-01 Thread Marshall Hampton
This has been irritating for a long time. I have tried to look at this code too but I find it confusing. I have been reduced to writing my own code to produce axes (sometimes I need some funny things, like 2 sets of axes for a plot with two different scales). There is probably already a ticket

[sage-support] Re: Question about Plot

2008-11-01 Thread David Joyner
This probably doesn't help, but there is a method in axes.py called "tasteless_tick_marks" which I guess you have to figure out how to use somehow. sage: from sage.plot.axes import Axes sage: P = plot(x^2,2,10) sage: Axes(P)._tasteless_ticks(2,10, 10) ([9.1993, 8.4004,