Hi Tudor,
Now it works much better!
Thx for the fixes.
Cheers,
Hernán
On 01/10/2012 3:00, Tudor Girba wrote:
Hi again,
| diagram |
diagram := ESDiagramRenderer new.
diagram
histogram
models: #(740 753 748 744 733 718 730 704 740 709 700 726 753 699
658 752 726 765 755 742 762 745 750 731 741 740 727 711 743 727 757 770 767
759 750 788 774 789 688 719 743 737 728 740 696 732 731 735 720 740 629 572
587 700 636 716 592 716 733 626 737 740 574 594 610 730 641 702 733 738 736
732 745 744 738 739 740 745 695 745 743 730 706 744 742 694 712 715 688 784
721 703 744 592);
property: [:each | each ];
numberOfIntervals: 20;
rotatedLabels: true;
yAxisLabel: 'Count';
xAxisLabel: 'Sequence length (bp)';
regularAxis;
addXDecorator: ESValueLabelDecorator new.
^ diagram open
but I'm experimenting some limitations that you may know better:
1) Cannot make both x and y labels to be displayed.
Fixed now
2) In the X axis, matplotlib seems to take only
significant interval.
I do not quite like that part because I want to see where the
distribution is within the overall scale :).
3) Also tried with different decorators
(ESValueLabelDecorator,
ESRangeLabelDecorator, ESRegularTickDecorator, etc) but it didn't changed.
I also fixed the labels of the identifiers a bit. Now you can rotate
the labels, and for each bar, the label shows the interval of values.
However, looking at your example, perhaps the labeling should be a bit
more flexible in that perhaps it should behave like an axis.
Cheers,
Doru
Any hints to overcome this?
Best regards,
Hernán
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev