Export your Graph-ET2 charts as PDF or SVG

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

Export your Graph-ET2 charts as PDF or SVG

PabloEstefo
Hi folks,

I just came to announce that now you can export your charts made with GraphET2 as PDF or SVG.

=.=.=
|builder normalizer data|
data := #(#(1 4) #(3 2) #(4 5) #(5 4) #(6 10) #(10 30) #(12 25)).
normalizer := RTNColorLinearNormalizer 
inContext: data 
withCommand: #second 
lowColor: Color paleRed 
highColor: Color blue.
builder := GET2Line data: data.
builder
x: #first;
y: #second;
lineWidth: 2;
dotColor: [ :v |  (normalizer rtValue: v) alpha: 0.5];
dotSize: 15.

builder exportAsPDF. "or exportAsSVG"
=.=.=


Just in case you have not tried GraphET2 yet…
=.=.=
Gofer new smalltalkhubUser: 'ObjectProfile' 
project: 'GraphET2';
package: 'ConfigurationOfGraphET2';
load.
(Smalltalk at: #ConfigurationOfGraphET2) load
=.=.=

Cheers,

Pablo

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