[sage-support] **legend

2018-01-22 Thread Henri Girard
Hi, I have params=dict() which works well, I am trying to look the same way with lgd= ? like lgd=dict...something ? I didn't find answer This way works but I have to put a variable (q, here) but when I change it can change too ? q.set_legend_options(loc=2,font_size=6,shadow=False,

[sage-support] legend options **kwds

2015-10-24 Thread HG
Hi, I don't see this oportunity anywhere in tuts. That's how I used it below but now (sage-6.9/6.10beta1) it doesn't work legend_opts = { 'back_color': 'salmon', 'shadow': False,'fancybox': 'True','fontsize': '6','loc': '1','borderaxespad': '1'}; O.set_legend_options(**legend_opts); Any help Re

Re: [sage-support] legend

2014-04-19 Thread HG
Hi, Sorry I mistaken : Your suggestion does work but apparently some commands don't work. I am trying further... Thanks Henri Le 17/04/2014 14:48, Michael Orlitzky a écrit : On 04/17/2014 06:32 AM, HG wrote: Hi, I do a plot with **params which is quiete usefull to have it as a compact style. A

Re: [sage-support] legend

2014-04-18 Thread HG
It doesn't work ... It seems to be a matplotlib options which I can't use inside texmacs directly. Strange that **params works and not **legend. Le 17/04/2014 14:48, Michael Orlitzky a écrit : On 04/17/2014 06:32 AM, HG wrote: Hi, I do a plot with **params which is quiete usefull to have it as

Re: [sage-support] legend

2014-04-17 Thread HG
I forget to say I can't use the show command because the plot is external in a texmacs session, this one should work I try it. thanks Henri Le 17/04/2014 14:48, Michael Orlitzky a écrit : On 04/17/2014 06:32 AM, HG wrote: Hi, I do a plot with **params which is quiete usefull to have it as a com

Re: [sage-support] legend

2014-04-17 Thread Michael Orlitzky
On 04/17/2014 06:32 AM, HG wrote: > > Hi, > I do a plot with **params which is quiete usefull to have it as a > compact style. > After googling a lot I was trying to see if one can do the same with > **legend ? or other keyword ? > I didn't find any answer, is it possible ? > it would be easie

[sage-support] legend

2014-04-17 Thread HG
Hi, I do a plot with **params which is quiete usefull to have it as a compact style. After googling a lot I was trying to see if one can do the same with **legend ? or other keyword ? I didn't find any answer, is it possible ? it would be easier to put all in a command ? regards Henri p=plot

Re: [sage-support] Legend label problem

2012-03-09 Thread D. S. McNeil
This seems to work on test.sagenb.org (5.0.beta1) and the 5.0.beta4 I have around, so something (whether Sage-side or matplotlib-side) must have changed for the better from 4.8. Is it time-sensitive enough to track it down and make a backpatch? Doug -- To post to this group, send email to sage

[sage-support] Legend label problem

2012-03-09 Thread kcrisman
Compare plot(e^(-x/10),(x,0,20),legend_label='$%s$'%latex(e^(-x/10))) AttributeError: 'Kern' object has no attribute 'height' with plot(e^(-x/10),(x,0,20),legend_label='$%s$'%latex(x)) (all is well). This does not happen with e^-x. Any ideas? This came up while preparing a talk, unfortunate

Re: [sage-support] Legend Options in 2D Plots? Title Options in 3D plots?

2011-05-25 Thread D. S. McNeil
> 1 - On 2D plots, I have been unable to use the legend() attribute and > the set_legend_options() attribute. I don't think you have those methods. I think you're using an old version of sage (maybe <= 4.5.2?) but reading documentation from a later version, which occasionally causes trouble. Wha

[sage-support] Legend Options in 2D Plots? Title Options in 3D plots?

2011-05-25 Thread Mel
I have two issues: 1 - On 2D plots, I have been unable to use the legend() attribute and the set_legend_options() attribute. The commands g = plot(x) g.legend() give me the error "AttributeError: 'Graphics' object has no attribute 'legend'" Also, I have been unable to label the l