Hi!
What about having ESSingleAxisDiagram>>y: set to #yourself per default? I would expect the following to plot the numbers: -=-=-=-=-=-=-=-=-=-=-=-= | diagram | diagram := ESDiagramRenderer new. diagram lineDiagram valueAxis; models: (1 to: 13) / 16. diagram open -=-=-=-=-=-=-=-=-=-=-=-= But instead, I have to say -=-=-=-=-=-=-=-=-=-=-=-= | diagram | diagram := ESDiagramRenderer new. diagram lineDiagram y: #yourself; valueAxis; models: (1 to: 13) / 16. diagram open -=-=-=-=-=-=-=-=-=-=-=-= So, are you ok for a default initialize of y with #yourself? Andre, shall I commit? Cheers, Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Please do not commit this. This is not a sensible default because most
models will be real objects, not numbers. Doru On Fri, Dec 9, 2011 at 3:07 PM, Alexandre Bergel <[hidden email]> wrote: > Hi! > > What about having > ESSingleAxisDiagram>>y: set to #yourself per default? > I would expect the following to plot the numbers: > > -=-=-=-=-=-=-=-=-=-=-=-= > | diagram | > diagram := ESDiagramRenderer new. > diagram lineDiagram > valueAxis; > models: (1 to: 13) / 16. > diagram open > -=-=-=-=-=-=-=-=-=-=-=-= > > But instead, I have to say > -=-=-=-=-=-=-=-=-=-=-=-= > | diagram | > diagram := ESDiagramRenderer new. > diagram lineDiagram > y: #yourself; > valueAxis; > models: (1 to: 13) / 16. > diagram open > -=-=-=-=-=-=-=-=-=-=-=-= > > So, are you ok for a default initialize of y with #yourself? > Andre, shall I commit? > > Cheers, > Alexandre > -- > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: > Alexandre Bergel http://www.bergel.eu > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > > > > > > _______________________________________________ > Moose-dev mailing list > [hidden email] > https://www.iam.unibe.ch/mailman/listinfo/moose-dev -- www.tudorgirba.com "Every thing has its own flow" _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Ok.
I was unsure, that's why I asked. Alexandre On 9 Dec 2011, at 11:22, Tudor Girba wrote: > Please do not commit this. This is not a sensible default because most > models will be real objects, not numbers. > > Doru > > On Fri, Dec 9, 2011 at 3:07 PM, Alexandre Bergel > <[hidden email]> wrote: >> Hi! >> >> What about having >> ESSingleAxisDiagram>>y: set to #yourself per default? >> I would expect the following to plot the numbers: >> >> -=-=-=-=-=-=-=-=-=-=-=-= >> | diagram | >> diagram := ESDiagramRenderer new. >> diagram lineDiagram >> valueAxis; >> models: (1 to: 13) / 16. >> diagram open >> -=-=-=-=-=-=-=-=-=-=-=-= >> >> But instead, I have to say >> -=-=-=-=-=-=-=-=-=-=-=-= >> | diagram | >> diagram := ESDiagramRenderer new. >> diagram lineDiagram >> y: #yourself; >> valueAxis; >> models: (1 to: 13) / 16. >> diagram open >> -=-=-=-=-=-=-=-=-=-=-=-= >> >> So, are you ok for a default initialize of y with #yourself? >> Andre, shall I commit? >> >> Cheers, >> Alexandre >> -- >> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: >> Alexandre Bergel http://www.bergel.eu >> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. >> >> >> >> >> >> _______________________________________________ >> Moose-dev mailing list >> [hidden email] >> https://www.iam.unibe.ch/mailman/listinfo/moose-dev > > > > -- > www.tudorgirba.com > > "Every thing has its own flow" > > _______________________________________________ > Moose-dev mailing list > [hidden email] > https://www.iam.unibe.ch/mailman/listinfo/moose-dev -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
No problem :).
Doru On Fri, Dec 9, 2011 at 3:25 PM, Alexandre Bergel <[hidden email]> wrote: > Ok. > I was unsure, that's why I asked. > > Alexandre > > > On 9 Dec 2011, at 11:22, Tudor Girba wrote: > >> Please do not commit this. This is not a sensible default because most >> models will be real objects, not numbers. >> >> Doru >> >> On Fri, Dec 9, 2011 at 3:07 PM, Alexandre Bergel >> <[hidden email]> wrote: >>> Hi! >>> >>> What about having >>> ESSingleAxisDiagram>>y: set to #yourself per default? >>> I would expect the following to plot the numbers: >>> >>> -=-=-=-=-=-=-=-=-=-=-=-= >>> | diagram | >>> diagram := ESDiagramRenderer new. >>> diagram lineDiagram >>> valueAxis; >>> models: (1 to: 13) / 16. >>> diagram open >>> -=-=-=-=-=-=-=-=-=-=-=-= >>> >>> But instead, I have to say >>> -=-=-=-=-=-=-=-=-=-=-=-= >>> | diagram | >>> diagram := ESDiagramRenderer new. >>> diagram lineDiagram >>> y: #yourself; >>> valueAxis; >>> models: (1 to: 13) / 16. >>> diagram open >>> -=-=-=-=-=-=-=-=-=-=-=-= >>> >>> So, are you ok for a default initialize of y with #yourself? >>> Andre, shall I commit? >>> >>> Cheers, >>> Alexandre >>> -- >>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: >>> Alexandre Bergel http://www.bergel.eu >>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. >>> >>> >>> >>> >>> >>> _______________________________________________ >>> Moose-dev mailing list >>> [hidden email] >>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev >> >> >> >> -- >> www.tudorgirba.com >> >> "Every thing has its own flow" >> >> _______________________________________________ >> Moose-dev mailing list >> [hidden email] >> https://www.iam.unibe.ch/mailman/listinfo/moose-dev > > -- > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: > Alexandre Bergel http://www.bergel.eu > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > > > > > > _______________________________________________ > Moose-dev mailing list > [hidden email] > https://www.iam.unibe.ch/mailman/listinfo/moose-dev -- www.tudorgirba.com "Every thing has its own flow" _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Free forum by Nabble | Edit this page |