Date Posted:
Product: TIBCO Spotfire®
Product: TIBCO Spotfire®
Problem:
Add a key outside of the graph area in Spotfire S+
Solution:
Customer may want to add a key to the graph that is outside of the graph area
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
Comments
0 comments
Article is closed for comments.