How can I programatically set a scatterplot identification label to a specific variable in rggobi

Skip to first unread message

Jeff Marcus

Sep 11, 2014, 1:54:42 PM9/11/14
I have an R function to build a GGobi instance with several scatterplot displays using the display() function.  By default, the identification label in each display is "Row Label". Say I want it to be variable X instead. Rather then setting this with the identification pulldown menu in each display I'd like to do it from R when I'm building the instance. As an analogy, I can set the interaction mode in each display with imode(). Now I 'm looking to do same for the identification label. 

A related question: one of my scatterplots is a 1-D plot view. By default it is displayed as an ASH (smoothed histogram). I'd prefer it to be displayed as a Textured plot. Again, how can I do this programatically instead of by hand? Thanks. 


Dianne Cook

Sep 11, 2014, 1:56:47 PM9/11/14
to Jeff Marcus,

I don’t think that either of these was made available through API.

> --
> You received this message because you are subscribed to the Google Groups "GGobi users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
> To post to this group, send email to
> Visit this group at
> For more options, visit

Jeff Marcus

Sep 11, 2014, 2:15:37 PM9/11/14
to Michael Lawrence, Dianne Cook, GGobi users
Thanks for the quick responses. Two followups:

(*) Is there a way of weetting Row Labels? I tried this by setting rownames in the R data frame I passed to ggobi but I have repeated labels so that didn't work. 

(*) If I wanted to access this through GTK API, could you give me a pointer to where to start looking? Do I need to look at source code for scatterplot displays? 

Thanks again. 


On Thu, Sep 11, 2014 at 2:00 PM, Michael Lawrence <> wrote:
We have in the past manipulated these using RGtk2 and direct operations on the widgets. It may take some trial and error, as well as familiarity with GTK+, to dig down into the GUI, but it works reliably.

Reply all
Reply to author
0 new messages