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

- JMP User Community
- :
- Discussions
- :
- graph + dots + flashing

- 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 31, 2018 1:23 AM
(5171 views)

hi,

is it possible to have flashing dots according to their value by programming with jsl?

best regards

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

I could think of a few ways to do this, depending on the effect you want. The code below might get you started;

```
NamesDefaultToHere(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");
biv = dt << Bivariate(X(:height), Y(:weight));
flashingRows = dt << getRowsWhere(:height > 65);
While(1,
For(r = 1, r <= NRow(flashingRows), r++,
dt << clearRowStates;
Hidden(rowState(flashingRows[r])) = 1;
Wait(0.03);
);
);
```

4 REPLIES 4

Highlighted

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

I could think of a few ways to do this, depending on the effect you want. The code below might get you started;

```
NamesDefaultToHere(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");
biv = dt << Bivariate(X(:height), Y(:weight));
flashingRows = dt << getRowsWhere(:height > 65);
While(1,
For(r = 1, r <= NRow(flashingRows), r++,
dt << clearRowStates;
Hidden(rowState(flashingRows[r])) = 1;
Wait(0.03);
);
);
```

Highlighted
##

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

Re: graph + dots + flashing

cool!

Jim

Highlighted
##

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

Re: graph + dots + flashing

A variation on Ian's example

```
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
biv = dt << Bivariate( X( :height ), Y( :weight ) );
Wait( .1 ); // make sure the graph is displayed
flashingRows = dt << getRowsWhere( :height > 65 );
shade = 0;
dt << clearRowStates;
While( 1,
shade += .05;
lightness = (Sin( shade ) + 1) / 2;
For( r = 1, r <= N Row( flashingRows ), r++,
Row State( flashingRows[r] ) = Color State( HLS Color( 0, lightness, 0 ) )
);
biv << updatewindow;
);
```

Craige

Highlighted
##

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

Re: graph + dots + flashing

cool too!

Jim

Article Labels

There are no labels assigned to this post.