turn on suggestions

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

Showing results for

- JMP User Community
- :
- Discussions
- :
- Using JSL to copy the frame contents of one graph ...

Topic Options

- 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

Sep 9, 2015 6:37 AM
(2074 views)

Hello,

I am trying to overlay the contents of two separate variability charts, using JSL. My JSL script already generates the two variability charts.

I can do the overlay manually using * Copy frame contents* one the 1st chart and

Are there JSL commands that can do this?

1 ACCEPTED SOLUTION

Accepted Solutions

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

Sep 9, 2015 7:04 AM
(3720 views)

Solution

NamesDefaultToHere**(****1****)**;

dt = Open**(**"$SAMPLE_DATA/Big Class.jmp"**)**;

v1 = dt << **Variability Chart****(**Y**(** :height **)**, X**(** :age **)**, Std Dev Chart**(** **0** **)**, Points Jittered**(** **1** **))**;

v2 = dt << **Variability Chart****(**Y**(** :weight **)**, X**(** :age **)**, Std Dev Chart**(** **0** **)**, Points Jittered**(** **1** **))**;

v1Rep = v1 << **Report**;

v2Rep = v2 << **Report**;

v1Rep**[**FrameBox**(****1****)]** << **CopyFrameContents**;

v2Rep**[**FrameBox**(****1****)]** << **PasteFrameContents**;

3 REPLIES

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

Sep 9, 2015 7:04 AM
(3721 views)

NamesDefaultToHere**(****1****)**;

dt = Open**(**"$SAMPLE_DATA/Big Class.jmp"**)**;

v1 = dt << **Variability Chart****(**Y**(** :height **)**, X**(** :age **)**, Std Dev Chart**(** **0** **)**, Points Jittered**(** **1** **))**;

v2 = dt << **Variability Chart****(**Y**(** :weight **)**, X**(** :age **)**, Std Dev Chart**(** **0** **)**, Points Jittered**(** **1** **))**;

v1Rep = v1 << **Report**;

v2Rep = v2 << **Report**;

v1Rep**[**FrameBox**(****1****)]** << **CopyFrameContents**;

v2Rep**[**FrameBox**(****1****)]** << **PasteFrameContents**;

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

Sep 9, 2015 8:10 AM
(1860 views)

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

Jun 13, 2016 2:25 PM
(1860 views)

Hi folks,

I want to do something similar but with a twist. I'm doing a Fit Generalized Model, and I want to show confidence curves on the regression graph. I can right click on the profiler and select **Edit > Copy frame contents**. Then I right click on the regression graph and select **Edit > Paste frame contents**. This is my result:

My question is: how do I do this in JSL? This is my (feeble) attempt but it doesn't work:

fm = Fit Model**(**

Y**(** :Name**(** "Sum(One Effect)" **)**, :Total **)**,

Effects**(** :Period **)**,

Personality**(** Generalized Linear Model **)**,

GLM Distribution**(** Binomial **)**,

Link Function**(** Logit **)**,

Overdispersion Tests and Intervals**(** **0** **)**,

Name**(** "Firth Bias-adjusted Estimates" **)(****0)**,

Run**(** **1**, Profiler**(** **1**, Confidence Intervals**(** **1** **)**,

Term Value**(** Period**(** **5.5**, Lock**(** **0** **)**, Show**(** **1** **)** **)** **)**

**)**

**)**

**)**;

// Run this to find relevant portions of the tree

//fm << show tree structure;

fmrep = fm << **report**;

fmrep**[**framebox**(****3)]** << **copy frame contents**;

fmrep**[**framebox**(****1)]** << **paste frame contents**;