RTGrapher minX: bug

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

RTGrapher minX: bug

jfabry
Hi all,

I think I found a bug in RTGrapher: it does not seem to respect the minX: axis setting when that value is bigger than 0. For example:

| b ds |
b := RTGrapher new.
ds := RTData new.
ds points: #(2 3 4).
b add: ds.

b minX: 1.

b build.
^ b view

-> x starts at 0. 

But if I set it to a negative number (e.g. -1) the x axis does start at that value.

This is a problem for me, because I have data e.g. between +-20 and +-30 and this just looks ugly:




Can this be fixed? Thanks in advance!

--
Does this mail seem too brief? Sorry for that, I don’t mean to be rude! Please see http://emailcharter.org .

Johan Fabry   -   http://pleiad.cl/~jfabry
PLEIAD and RyCh labs  -  Computer Science Department (DCC)  -  University of Chile


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

Re: RTGrapher minX: bug

abergel
Hi!

Yes, Grapher assume that 0 @ 0 is always in the graph.
If you want to change that, you can read Section 6 ("Translating the Y axis”), in
https://dl.dropboxusercontent.com/u/31543901/AgileVisualization/Grapher/0203-Grapher.html

This will apply in your case.
Let me know if the instruction are clear or not.

Cheers,
Alexandre


> On May 18, 2016, at 2:07 PM, Johan Fabry <[hidden email]> wrote:
>
> Hi all,
>
> I think I found a bug in RTGrapher: it does not seem to respect the minX: axis setting when that value is bigger than 0. For example:
>
> | b ds |
> b := RTGrapher new.
> ds := RTData new.
> ds points: #(2 3 4).
> b add: ds.
>
> b minX: 1.
>
> b build.
> ^ b view
>
> -> x starts at 0.
>
> But if I set it to a negative number (e.g. -1) the x axis does start at that value.
>
> This is a problem for me, because I have data e.g. between +-20 and +-30 and this just looks ugly:
>
> <PastedGraphic-1.jpg>
>
>
> Can this be fixed? Thanks in advance!
>
> --
> Does this mail seem too brief? Sorry for that, I don’t mean to be rude! Please see http://emailcharter.org .
>
> Johan Fabry   -   http://pleiad.cl/~jfabry
> PLEIAD and RyCh labs  -  Computer Science Department (DCC)  -  University of Chile
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.list.inf.unibe.ch/listinfo/moose-dev

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



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

Re: RTGrapher minX: bug

jfabry

Ah, OK I never thought to do it like this. It works, thanks!

But, then how about adding some comments to minX: and maxX: to clarify this?

--
Does this mail seem too brief? Sorry for that, I don’t mean to be rude! Please see http://emailcharter.org .

Johan Fabry   -   http://pleiad.cl/~jfabry
PLEIAD and RyCh labs  -  Computer Science Department (DCC)  -  University of Chile

> On May 19, 2016, at 11:12, Alexandre Bergel <[hidden email]> wrote:
>
> Hi!
>
> Yes, Grapher assume that 0 @ 0 is always in the graph.
> If you want to change that, you can read Section 6 ("Translating the Y axis”), in
> https://dl.dropboxusercontent.com/u/31543901/AgileVisualization/Grapher/0203-Grapher.html
>
> This will apply in your case.
> Let me know if the instruction are clear or not.
>
> Cheers,
> Alexandre
>
>
>> On May 18, 2016, at 2:07 PM, Johan Fabry <[hidden email]> wrote:
>>
>> Hi all,
>>
>> I think I found a bug in RTGrapher: it does not seem to respect the minX: axis setting when that value is bigger than 0. For example:
>>
>> | b ds |
>> b := RTGrapher new.
>> ds := RTData new.
>> ds points: #(2 3 4).
>> b add: ds.
>>
>> b minX: 1.
>>
>> b build.
>> ^ b view
>>
>> -> x starts at 0.
>>
>> But if I set it to a negative number (e.g. -1) the x axis does start at that value.
>>
>> This is a problem for me, because I have data e.g. between +-20 and +-30 and this just looks ugly:
>>
>> <PastedGraphic-1.jpg>
>>
>>
>> Can this be fixed? Thanks in advance!
>>
>> --
>> Does this mail seem too brief? Sorry for that, I don’t mean to be rude! Please see http://emailcharter.org .
>>
>> Johan Fabry   -   http://pleiad.cl/~jfabry
>> PLEIAD and RyCh labs  -  Computer Science Department (DCC)  -  University of Chile
>>
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.list.inf.unibe.ch/listinfo/moose-dev
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.list.inf.unibe.ch/listinfo/moose-dev

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

Re: RTGrapher minX: bug

abergel
Done

Alexandre
-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



On May 19, 2016, at 10:34 AM, Johan Fabry <[hidden email]> wrote:


Ah, OK I never thought to do it like this. It works, thanks!

But, then how about adding some comments to minX: and maxX: to clarify this?

--
Does this mail seem too brief? Sorry for that, I don’t mean to be rude! Please see http://emailcharter.org .

Johan Fabry   -   http://pleiad.cl/~jfabry
PLEIAD and RyCh labs  -  Computer Science Department (DCC)  -  University of Chile

On May 19, 2016, at 11:12, Alexandre Bergel <[hidden email]> wrote:

Hi!

Yes, Grapher assume that 0 @ 0 is always in the graph.
If you want to change that, you can read Section 6 ("Translating the Y axis”), in
https://dl.dropboxusercontent.com/u/31543901/AgileVisualization/Grapher/0203-Grapher.html

This will apply in your case.
Let me know if the instruction are clear or not.

Cheers,
Alexandre


On May 18, 2016, at 2:07 PM, Johan Fabry <[hidden email]> wrote:

Hi all,

I think I found a bug in RTGrapher: it does not seem to respect the minX: axis setting when that value is bigger than 0. For example:

| b ds |
b := RTGrapher new.
ds := RTData new.
ds points: #(2 3 4).
b add: ds.

b minX: 1.

b build.
^ b view

-> x starts at 0.

But if I set it to a negative number (e.g. -1) the x axis does start at that value.

This is a problem for me, because I have data e.g. between +-20 and +-30 and this just looks ugly:

<PastedGraphic-1.jpg>


Can this be fixed? Thanks in advance!

--
Does this mail seem too brief? Sorry for that, I don’t mean to be rude! Please see http://emailcharter.org .

Johan Fabry   -   http://pleiad.cl/~jfabry
PLEIAD and RyCh labs  -  Computer Science Department (DCC)  -  University of Chile

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.list.inf.unibe.ch/listinfo/moose-dev

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.list.inf.unibe.ch/listinfo/moose-dev

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.list.inf.unibe.ch/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.list.inf.unibe.ch/listinfo/moose-dev