12.07.2015 Views

GLE User Manual - Fedora Project Packages GIT repositories

GLE User Manual - Fedora Project Packages GIT repositories

GLE User Manual - Fedora Project Packages GIT repositories

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

44 CHAPTER 5. THE KEY MODULERedGreenBlueOrangePurpleBlackFigure 5.2: Defining a key with multiple columns.1.0Implicitly defined key0.50.0-0.5SineCosine-1.00 /2 3 /2 2Figure 5.3: Defining the key together with the graph block.separator [lstyle s]Use this command to divide the key into multiple columns. If the “lstyle” option is given, then aline is drawn between the columns in the given style. Possible values are given with the descriptionof the “set lstyle” command on page 20. The “separator” command should be inserted between thekey entries that should go in different columns. For example,begin keyposition blline color red text "Red"line color green text "Green"line color blue text "Blue"separatorline color orange text "Orange"line color purple text "Purple"line color black text "Black"end keywill result in the key shown in Fig. 5.2.text sThe text for the entry.5.3 Defining the Key in the Graph BlockIt is also possible to define the key in the graph block itself. This is accomplished by prefixing global keycommands with the keyword “key”. The entries are in this case defined with the “dn” commands andthe labels are set with the “key” option to these commands.The following presents an example:begin graphtitle "Implicitly defined key"let d1 = sin(x)let d2 = cos(x)xaxis min 0 max 2*pi dticks pi/2 format "pi"key compact pos bld1 line color red marker triangle mdist 1 key "Sine"

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!