Difference between revisions of "SciFigs: Legend"
(19 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
[[Image:SciFigs_legend_graphic.png|thumb|right|200px|A legend]] | [[Image:SciFigs_legend_graphic.png|thumb|right|200px|A legend]] | ||
− | A legend is a graphical object that can be inserted in a [[SciFigs: Graphic sheet|graphic sheet]]. A legend is a description of various line, symbol and text attributes used for plotting curves on a [[SciFigs: | + | A legend is a graphical object that can be inserted in a [[SciFigs: Graphic sheet|graphic sheet]]. A legend is a description of various line, symbol and text attributes used for plotting curves on a [[SciFigs: Graph|Graph]] containing line [[SciFigs: Layer|layers]]. |
− | |||
− | + | = '''Create a legend''' = | |
− | + | In a [[SciFigs: Graphic sheet|graphic sheet]] such as [[SciFigs: Figue|figue]], select the menu '''Insert/Legend'''. Alternatively, use the legend toolbar icon [[Image:Legend_icon.png|30px]] or right-click on a blank part of the graphic sheet and access '''Insert/Legend''' through the context menu (useful for Mac users who have no top menu bar when the graphic sheet is embedded in a larger application, e.g. inside geopsy). | |
− | [[ | ||
− | |||
− | |||
− | |||
− | |||
− | + | ||
+ | A small box with '''Title''' inside appears in the Graphic Sheet. | ||
+ | [[Image:SciFigs_LegendBox.png|thumb|right|200px|Empty legend]] | ||
+ | |||
+ | <br style="clear:both"/> | ||
+ | |||
+ | Double click on this box to open the properties window and select the '''Legend''' Tab. | ||
+ | [[Image:SciFigs_legend_menu.png|thumb|right|450px|Legend property window]] | ||
+ | <br style="clear: both"/> | ||
+ | |||
+ | [[Image:SciFigs_Legend_NumberOfEntries.png|thumb|right|300px|Number of entries in the legend]] | ||
+ | Enter the number of entries of the legend. | ||
+ | <br style="clear: both"/> | ||
+ | |||
+ | A legend is created with the default entries. | ||
+ | [[Image:SciFigs_Legend_DefaultLegend.png|thumb|right|300px|Default legend]] | ||
+ | <br style="clear: both"/> | ||
+ | |||
+ | The Property window now presents the default entries, ready to be edited. | ||
+ | [[Image:SciFigs_legend_NewLegend.png|thumb|right|450px|Legend property window with the default entries to be edited and customized]] | ||
+ | |||
+ | <br style="clear: both"/> | ||
+ | |||
+ | = '''Edit a legend''' = | ||
+ | |||
+ | The Legend property window used to edit a legend includes two sections: | ||
+ | * a Legend box | ||
+ | * a Format box | ||
+ | |||
+ | <br style="clear:both"/> | ||
+ | |||
+ | ==Legend box== | ||
+ | [[Image:SciFigs_Legend_Box.png|thumb|right|450px|Legend box]] | ||
+ | The Legend box is used to customize five items for each entry: | ||
+ | *Pen (Absent in map legend) | ||
+ | *Symbol | ||
+ | *Symbol pen | ||
+ | *Symbol brush | ||
+ | *Text | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | These five items are described by the following characteristics: | ||
+ | |||
+ | *'''Color''': five ways are available to select colors | ||
+ | [[Image:SciFigs_Legend_SelectColor1.png|100px|Default Select Color]] | ||
+ | [[Image:SciFigs_Legend_SelectColor2.png|100px|Select Color]] | ||
+ | [[Image:SciFigs_Legend_SelectColor3.png|100px|Select Color]] | ||
+ | [[Image:SciFigs_Legend_SelectColor4.png|100px|Select Color]] | ||
+ | [[Image:SciFigs_Legend_SelectColor5.png|100px|Select Color]] | ||
+ | |||
+ | <br style="clear: both"/> | ||
+ | |||
+ | There are several combinations to [[SciFigs: _Legend_Customize_Colors|'''customize colors''']] | ||
+ | |||
+ | |||
+ | *'''Width''' | ||
+ | [[Image:Legend_menu-width.png|thumb|left|100px]] | ||
+ | <br style="clear: both"/> | ||
+ | |||
+ | |||
+ | *'''Style''': two types of style are available | ||
+ | For '''Pen''' and '''Symbol pen''': style defines a style of line | ||
+ | [[Image:Legend_menu-style1a.png|thumb|left|100px]] | ||
+ | [[Image:Legend_menu-style1b.png|60px]] | ||
+ | <br style="clear: both"/> | ||
+ | |||
+ | For '''Symbol brush''': style defines a style of filling | ||
+ | [[Image:Legend_menu-style2a.png|thumb|left|100px]] | ||
+ | [[Image:Legend_menu-style2b.png|40px]] | ||
+ | <br style="clear: both"/> | ||
+ | |||
+ | |||
+ | *'''Type''': to choose between six symbol types, or no symbol (blank square) | ||
+ | [[Image:Legend_menu-type1.png|thumb|left|100px]] | ||
+ | [[Image:Legend_menu-type2.png|60px]] | ||
+ | <br style="clear: both"/> | ||
<br style="clear: both"/> | <br style="clear: both"/> | ||
− | |||
− | |||
− | |||
+ | |||
+ | *'''Size''' | ||
+ | [[Image:Legend_menu-size.png|thumb|left|100px]] | ||
<br style="clear: both"/> | <br style="clear: both"/> | ||
− | |||
− | + | *'''Text''' | |
+ | Define the Text to be used in the legend box to describe each entry. It is also possible to define the color of the text. | ||
+ | |||
+ | <br style="clear: both"/> | ||
− | == | + | == Format Box == |
− | + | [[Image:SciFigs_legend_FormatBox.png|thumb|right|300px|Legend format box]] | |
+ | This box is used to set: | ||
+ | *the legend title | ||
+ | *automatically resize the legend object to the text length | ||
+ | *the font of the legend | ||
+ | *the line size in the legend | ||
+ | <br style="clear: both"/> | ||
+ | |||
+ | |||
+ | = '''Example''' = | ||
+ | Example of a Legend tab attributes and the resulting Legend object. | ||
+ | [[Image:Legend_tab_example.png|thumb|right|500px|Legend tab example]] | ||
+ | <br style="clear: both"/> | ||
+ | [[Image:Legend_example.png|thumb|right|300px|Legend example]] | ||
+ | <br style="clear: both"/> | ||
+ | |||
+ | [[Image:Legend_example1.png|thumb|right|300px|Legend example]] | ||
+ | A black text instead of a colored one is obtained by first unchecking the [[Image:SciFigs_legend_OneColorBox1.png|150px]] box, and changing '''Color''' accordingly in the '''Text''' column. | ||
+ | <br style="clear: both"/> | ||
− | |||
− | |||
− | = | + | = '''Export or import a legend''' = |
− | + | It is possible to export a legend attributes, for later use, through the [[Image:SciFigs_legend_SaveButton.png|100px]] button. | |
+ | A '''.legend''' will be created, which is in [[Xml files|XML]] format. | ||
− | + | Attributes of a saved '''.legend''' file can be imported through the [[Image:SciFigs_legend_LoadButton.png|100px]] button. | |
− | |||
− | |||
− | + | To get the same legend as in the example, first download the [[Media: Legend_page_new|'''Legend example.legend''']] file and then load it into the active Graph Sheet. |
Latest revision as of 11:37, 25 February 2013
A legend is a graphical object that can be inserted in a graphic sheet. A legend is a description of various line, symbol and text attributes used for plotting curves on a Graph containing line layers.
Contents
Create a legend
In a graphic sheet such as figue, select the menu Insert/Legend. Alternatively, use the legend toolbar icon or right-click on a blank part of the graphic sheet and access Insert/Legend through the context menu (useful for Mac users who have no top menu bar when the graphic sheet is embedded in a larger application, e.g. inside geopsy).
A small box with Title inside appears in the Graphic Sheet.
Double click on this box to open the properties window and select the Legend Tab.
Enter the number of entries of the legend.
A legend is created with the default entries.
The Property window now presents the default entries, ready to be edited.
Edit a legend
The Legend property window used to edit a legend includes two sections:
- a Legend box
- a Format box
Legend box
The Legend box is used to customize five items for each entry:
- Pen (Absent in map legend)
- Symbol
- Symbol pen
- Symbol brush
- Text
These five items are described by the following characteristics:
- Color: five ways are available to select colors
There are several combinations to customize colors
- Width
- Style: two types of style are available
For Pen and Symbol pen: style defines a style of line
For Symbol brush: style defines a style of filling
- Type: to choose between six symbol types, or no symbol (blank square)
- Size
- Text
Define the Text to be used in the legend box to describe each entry. It is also possible to define the color of the text.
Format Box
This box is used to set:
- the legend title
- automatically resize the legend object to the text length
- the font of the legend
- the line size in the legend
Example
Example of a Legend tab attributes and the resulting Legend object.
A black text instead of a colored one is obtained by first unchecking the box, and changing Color accordingly in the Text column.
Export or import a legend
It is possible to export a legend attributes, for later use, through the button.
A .legend will be created, which is in XML format.
Attributes of a saved .legend file can be imported through the button.
To get the same legend as in the example, first download the Legend example.legend file and then load it into the active Graph Sheet.