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
- :
- add graphics script on top of points?

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

Mar 5, 2015 7:29 PM
(866 views)

1 ACCEPTED SOLUTION

Accepted Solutions

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

Solution

Note the '3' and the '5' in the graphics scripts below. You can see which scripts are tied to the graphics box by right-clicking on it and selecting 'Customize...'.

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

// Some data

dt = NewTable**(**"Point Cloud",

NewColumn**(**"X", Numeric, Continuous, Formula**(**RandomNormal**()))**,

NewColumn**(**"Y", Numeric, Continuous, Formula**(**RandomNormal**()))**,

AddRows**(****10000****)**

**)**;

// Bivariate with two graphics scripts

biv = dt << **Bivariate****(**

Y**(** :Y **)**,

X**(** :X **)**,

SendToReport**(**

Dispatch**(**

**{}**,

"Bivar Plot",

FrameBox,

**{**Frame Size**(** **497**, **377** **)**,

Add Graphics Script**(**

**3**,

Description**(** "Behind Points" **)**,

Pen Color**(** "Red" **)**;

H Line**(** **0** **)**;

**)**, Add Graphics Script**(**

**5**,

Description**(** "In front of Points" **)**,

Pen Color**(** "Green" **)**;

V Line**(** **0** **)**;

**)}**

**)**

**)**

**)**;

2 REPLIES

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

Note the '3' and the '5' in the graphics scripts below. You can see which scripts are tied to the graphics box by right-clicking on it and selecting 'Customize...'.

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

// Some data

dt = NewTable**(**"Point Cloud",

NewColumn**(**"X", Numeric, Continuous, Formula**(**RandomNormal**()))**,

NewColumn**(**"Y", Numeric, Continuous, Formula**(**RandomNormal**()))**,

AddRows**(****10000****)**

**)**;

// Bivariate with two graphics scripts

biv = dt << **Bivariate****(**

Y**(** :Y **)**,

X**(** :X **)**,

SendToReport**(**

Dispatch**(**

**{}**,

"Bivar Plot",

FrameBox,

**{**Frame Size**(** **497**, **377** **)**,

Add Graphics Script**(**

**3**,

Description**(** "Behind Points" **)**,

Pen Color**(** "Red" **)**;

H Line**(** **0** **)**;

**)**, Add Graphics Script**(**

**5**,

Description**(** "In front of Points" **)**,

Pen Color**(** "Green" **)**;

V Line**(** **0** **)**;

**)}**

**)**

**)**

**)**;

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

Mar 6, 2015 11:49 AM
(692 views)