ggplot with spotfire

ggplot2 is nice tool for visualise data in R.
TIBCO Spotfire does not have density plot function.
So, I implemented density plot in spotfire.
I did it using RinR function and ggplot2.

* This is simple sample.
In spotfire data function, I wrote following…

outPNG <-RGraph(
             data =c("idx","inTable"), display=FALSE,

“idx” is column name which you want plot
In Spotfire’s input tab, I set “inTable” is table(data that using visualisation), and set “idx” is column name ( to make density plot ).
Then in output tab, I set “outPNG” is value.
Make text area and insert property binary label named “outPNG “.
All preparation is done.

Run the script.
In text area, density plot will apper.
I can’t upload screenshot, because I post the blog from my personal PC. ;-)


Published by iwatobipen

I'm medicinal chemist in mid size of pharmaceutical company. I love chemoinfo, cording, organic synthesis, my family.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: