You can have legends, such as in:

-=-=-=-=-=-=-=-=-=-=-=-=
b := RTGrapher new.
b extent: 300 @ 300.

(Array with: Color red with: Color blue with: Color green with: Color yellow) doWithIndex: [ :color :i |
ds := RTData new.
ds label: 'x^', i asString.
ds dotShape ellipse size: 0.
ds points: (0.0 to: 10.0 by: 0.1).
ds connectColor: color.
ds x: #yourself.
ds y: [ :v | v raisedTo: i ].
b add: ds.
].

b axisXWithNumberOfTicks: 3.
b axisYWithNumberOfTicks: 4.
b legend right.
^ b
-=-=-=-=-=-=-=-=-=-=-=-=

Here is another example:

-=-=-=-=-=-=-=-=
b := RTGrapher new.

ds := RTData new.
ds label: 'Classes'.
ds points: (Collection withAllSubclasses reverseSortedAs: #numberOfMethods).
ds barShape color: Color red.
ds y: #numberOfMethods.
b add: ds.

b legend 
addText: 'Size of collection classes'.
b
-=-=-=-=-=-=-=-=



Cheers,
Alexandre

On Dec 12, 2016, at 5:47 PM, Johan Fabry <jfabry@dcc.uchile.cl> wrote:

Hi All,

I was looking for a way to get a title on a graph made with RTGrapher. I have so many open that sometimes I forget which ones is which. A title would help but I cannot find a straightforward way to add one. Is this possible?

--
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
Moose-dev@list.inf.unibe.ch
https://www.list.inf.unibe.ch/listinfo/moose-dev

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