DistributionMap windows size

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

DistributionMap windows size

Guillaume Larcheveque
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
Reply | Threaded
Open this post in threaded view
|

Re: DistributionMap windows size

Tudor Girba-2
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
Reply | Threaded
Open this post in threaded view
|

Re: DistributionMap windows size

Guillaume Larcheveque
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



_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: DistributionMap windows size

Guillaume Larcheveque
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



_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: DistributionMap windows size

Guillaume Larcheveque
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



_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: DistributionMap windows size

Guillaume Larcheveque
The improved DistributionMap:

Images intégrées 1

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
Reply | Threaded
Open this post in threaded view
|

Re: DistributionMap windows size

Stéphane Ducasse
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