Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

- JMP User Community
- :
- Discussions
- :
- How do I get the containers of Graphs

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

Highlighted

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Oct 16, 2018 5:37 AM
(3739 views)

Hi,

I am looking for a way to have access to opened graphs to modify them.

Suppose I have a few graphs (Variability charts) that I made with JMP (all manual work).

I want the box plots to be in black black color instead of red.

How can I get get access to the variability charts to modify them ?

Is there a way to retrieve the containters of the opend graphs ?

Thanks.

- Tags:
- graph container

1 ACCEPTED SOLUTION

Accepted Solutions

Highlighted

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

You can access the Frame Box() from the window itself.

`Window( "Untitled 9 - Variability Chart of Value by Airline" )[framebox( 1 )] << set background color( "gray" );`

Jim

7 REPLIES 7

Highlighted
##

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Re: How do I get the containers of Graphs

Right click on the chart you want to change, and select "Customize". All of the box plots will then be available for changing.

Jim

Highlighted
##

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Re: How do I get the containers of Graphs

Hi,

In fact I know this option (thanks to you, months ago...).

I use it a lot and scripted it.

Usually I do the following steps:

- Graphs = dt << Variability Chart( ........)
- GraphsReport = Graphs << report;
- nbp = GraphsRep[FrameBox( 1 )] << segCount( "Box Plot Seg" );
- ...

It works fine. But suppose I make a graph manually (meaning, I miss line 1). Is there a way to retrieve the container of the variability chart and manipulate it ? (similar to what "dt = current data table" does or any functions that retrieve the container).

Sorry if I was not clear.

Highlighted

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

You can access the Frame Box() from the window itself.

`Window( "Untitled 9 - Variability Chart of Value by Airline" )[framebox( 1 )] << set background color( "gray" );`

Jim

Highlighted
##

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Re: How do I get the containers of Graphs

Great !!! It is close to what I hoped for.

May be one last question: is there another way (or a variant) where I do not need to give the name of the window ? for example "Selected window" or ...because writing by hand the full name is not a good practice :(

Thanks.

Highlighted
##

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Re: How do I get the containers of Graphs

I usually loop through the windows to find the window title(s) that I am interested in, and then act on it.

All of this is documented with examples in the Scripting Index

Help==>Scripting Index.......search for Window Object

Jim

Highlighted
##

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Re: How do I get the containers of Graphs

It works perfect !

I had to look a bit in the scripting index, and try a few things...

It works.

Many thanks !

Highlighted
##

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Re: How do I get the containers of Graphs

Very useful. Is there a way to do the same in a Scatterplot 3?

Article Labels

There are no labels assigned to this post.