Graphics don't appear when nested in a loop or function.
book
Article ID: KB0080935
calendar_today
Updated On:
Spotfire S+
|
All supported versions
|
Description
Graph code using Trellis graph functions runs successfully when run by itself, but no graphs are created when coded within a loop or function.
Issue/Introduction
Graphics don't appear when nested in a loop or function.
Environment
Product: TIBCO Spotfire S+
Version: All supported versions
OS: All supported operating systems
--------------------
Resolution
You must explicitly use the print() function when creating Trellis graphs within a loop or function. For example:
print(xyplot(Weight ~ Fuel|Type, data=fuel.frame))
Feedback
thumb_up
Yes
thumb_down
No