We wanted to open a DistributionMap with a given windows size. Any idea how to do it?
We looked with stef in the MOViewRenderer class but nothing jumps to our eyes. Thanks. -- Guillaume Larcheveque _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
You can set the width and height of the resulting window. For example:
MOViewRenderer new open width: 100; height: 100 Cheers, Doru On Wed, Mar 14, 2012 at 11:13 AM, Guillaume Larcheveque <[hidden email]> wrote: > We wanted to open a DistributionMap with a given windows size. Any idea how > to do it? > We looked with stef in the MOViewRenderer class but nothing jumps to our > eyes. > > Thanks. > > -- > Guillaume Larcheveque > > > > _______________________________________________ > 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 |
Thanks a lot :)
We are working on making distribution cooler (reducing titles for example). We will publish the code once it is ready. 2012/3/14 Tudor Girba <[hidden email]> You can set the width and height of the resulting window. For example: -- Guillaume Larcheveque _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
authorMap
"self authorMap" | dm | dm := DistributionMap new. "dm colors: {(Color r: 0.6 g: 0.0 b: 0.0). (Color r: 0.0 g: 0.0 b: 0.6). (Color r: 1.0 g: 0.6 b: 0.0). (Color r: 0.0 g: 1.0 b: 1.0). (Color r: 0.0 g: 1.0 b: 0.0). (Color r: 1.0 g: 0.753 b: 0.796). (Color r: 0.6 g: 0.4 b: 0.0). (Color r: 0.4 g: 0.0 b: 0.6). (Color r: 1.0 g: 1.0 b: 0.0). (Color r: 0.8 g: 0.8 b: 0.8)}." dm onContainers: model allModelPackages elements: #classes properties: [ :cl | cl authors sortedCounts ifNotEmpty: [ cl authors sortedCounts first value name ] ]. dm title: 'Authors Map of ' , model name. dm render. dm open Typically it would be cool to have the possibility to pass it here 2012/3/14 Guillaume Larcheveque <[hidden email]> Thanks a lot :) -- Guillaume Larcheveque _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
dm width: 1000; height: 500
stef 2012/3/14 Guillaume Larcheveque <[hidden email]> authorMap -- Guillaume Larcheveque _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
The improved DistributionMap:
2012/3/14 Guillaume Larcheveque <[hidden email]> dm width: 1000; height: 500 -- Guillaume Larcheveque _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
we are introducing the fact that we can shrink the labels :)
to get a better feeling. stef On Mar 14, 2012, at 11:48 AM, Guillaume Larcheveque wrote: > The improved DistributionMap: > > <image.png> > > 2012/3/14 Guillaume Larcheveque <[hidden email]> > dm width: 1000; height: 500 > > stef > > > 2012/3/14 Guillaume Larcheveque <[hidden email]> > authorMap > "self authorMap" > > | dm | > dm := DistributionMap new. > "dm > colors: > {(Color r: 0.6 g: 0.0 b: 0.0). > (Color r: 0.0 g: 0.0 b: 0.6). > (Color r: 1.0 g: 0.6 b: 0.0). > (Color r: 0.0 g: 1.0 b: 1.0). > (Color r: 0.0 g: 1.0 b: 0.0). > (Color r: 1.0 g: 0.753 b: 0.796). > (Color r: 0.6 g: 0.4 b: 0.0). > (Color r: 0.4 g: 0.0 b: 0.6). > (Color r: 1.0 g: 1.0 b: 0.0). > (Color r: 0.8 g: 0.8 b: 0.8)}." > dm > onContainers: model allModelPackages > elements: #classes > properties: [ :cl | cl authors sortedCounts ifNotEmpty: [ cl authors sortedCounts first value name ] ]. > dm title: 'Authors Map of ' , model name. > dm render. > dm open > > > Typically it would be cool to have the possibility to pass it here > > > > > > 2012/3/14 Guillaume Larcheveque <[hidden email]> > Thanks a lot :) > > We are working on making distribution cooler (reducing titles for example). We will publish the code once it is ready. > > > 2012/3/14 Tudor Girba <[hidden email]> > You can set the width and height of the resulting window. For example: > MOViewRenderer new open width: 100; height: 100 > > Cheers, > Doru > > > On Wed, Mar 14, 2012 at 11:13 AM, Guillaume Larcheveque > <[hidden email]> wrote: > > We wanted to open a DistributionMap with a given windows size. Any idea how > > to do it? > > We looked with stef in the MOViewRenderer class but nothing jumps to our > > eyes. > > > > Thanks. > > > > -- > > Guillaume Larcheveque > > > > > > > > _______________________________________________ > > 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 > > > > -- > Guillaume Larcheveque > > > > > > -- > Guillaume Larcheveque > > > > > > -- > Guillaume Larcheveque > > > > > > -- > Guillaume Larcheveque > > > _______________________________________________ > Moose-dev mailing list > [hidden email] > https://www.iam.unibe.ch/mailman/listinfo/moose-dev _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Free forum by Nabble | Edit this page |