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

Showing results for

- JMP User Community
- :
- Discussions
- :
- Stacking overlay plots

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

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

Mar 3, 2009 5:54 AM
(234 views)

I thought I might be able to stack overlay plots into one window in a script like this:

Distribution(

stack( 1 ),

Overlay Plot(

X( :static_clear_rel ),

Y( :MxBmin, :Pred Formula MxBmin ),

Sort X( 0 )

),

Overlay Plot(

X( :static_clear_rel ),

Y( :MxBmax, :Pred Formula MxBmax ),

Sort X( 0 )

),

)

But no window pops up, and I get no warnings/errors. If I change it to the following, I do get 2 separate windows to popup:

//Distribution(

// stack( 1 ),

Overlay Plot(

X( :static_clear_rel ),

Y( :MxBmin, :Pred Formula MxBmin ),

Sort X( 0 )

);

Overlay Plot(

X( :static_clear_rel ),

Y( :MxBmax, :Pred Formula MxBmax ),

Sort X( 0 )

);

//)

3 REPLIES

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

Mar 3, 2009 6:41 AM
(183 views)

New Window("Window Name", XXXX)

Replace the XXXX with the scripts you're trying to paste together. You can format the output using horizontal and vertical list boxes (vlistbox and hlistbox).

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

Mar 4, 2009 6:48 PM
(183 views)

Another way would be to stack your data, then just use one overlay with grouping column.

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

May 14, 2010 6:42 AM
(183 views)

new window("my wnd",

c1= Overlay Plot(

X( :static_clear_rel ),

Y( :MxBmin, :Pred Formula MxBmin ),

Sort X( 0 )

);

c2 = Overlay Plot(

X( :static_clear_rel ),

Y( :MxBmax, :Pred Formula MxBmax ),

Sort X( 0 )

);

);

// copy the framebox of the first chart and drop it on the second.

fb1 = (c1<< report())[framebox(1)];

fb1 << copy frame contents();

fb2 = (c2<< report())[framebox(1)];

fb2 << paste frame contents();

// you can now delete the first chart if you want.

c1 << delete();