Add a key outside of the graph area in Spotfire S+
book
Article ID: KB0080957
calendar_today
Updated On:
Spotfire S+
|
All supported versions
|
Description
Customer may want to add a key to the graph that is outside of the graph area
Issue/Introduction
Add a key outside of the graph area in Spotfire S+
Environment
Product: TIBCO Spotfire S+
Version: All supported versions
OS: All supported operating systems
--------------------
Resolution
You can place a key outside of a graph by adjusting the margins with a combination of calls to par(). For example:
##########
#Specify a region for the overall figure
par(oma=rep(1,4))
#Reset the margins for your graph inside of the oma= settings
par(mar=c(3,3,2,6))
#Create your plot
plot(1:10)
#Add your key using x-y coordinates outside of the graph area
key(11,3, text=letters[1:5])
##########
References:
==========
You can read more about the par() settings by typing at a command prompt:
>?par
Feedback
thumb_up
Yes
thumb_down
No