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
- :
- Re: How to move the legend part to the bottom

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
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Jan 31, 2012 1:35 PM
(7112 views)

When using graph builder, how to move the legend part to the bottom of the graph instead of current right side? Is there any part of JSL that could do the changes? Thanks a lot.

1 ACCEPTED SOLUTION

Accepted Solutions

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

I can't find a way to do it by hand, but it's possible with JSL.

Here is one way exanple on how it can be done:

Open**(** "$ENGLISH_SAMPLE_DATA/Big Class.jmp" **)**;

gb = Graph Builder**(**

Show Control Panel**(** **0** **)**,

Variables**(** X**(** :age **)**, Y**(** :weight **)**, Y**(** :height **)** **)**,

Elements**(** Position**(** **1**, **1** **)**, Points**(** X, Y, **)**, Smoother**(** X, Y, **)** **)**,

Elements**(** Position**(** **1**, **2** **)**, Points**(** X, Y, **)**, Smoother**(** X, Y, **)** **)**

**)**;

gbr = Report**(** gb **)**;

legend = gbr**[**LegendBox**(** **1** **)]**;

legend << orientation**(** "horizontal" **)**;

gbr**[**Outline Box**(** **1** **)]** << append**(** legend **)**;

legend << delete;

5 REPLIES 5

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

I can't find a way to do it by hand, but it's possible with JSL.

Here is one way exanple on how it can be done:

Open**(** "$ENGLISH_SAMPLE_DATA/Big Class.jmp" **)**;

gb = Graph Builder**(**

Show Control Panel**(** **0** **)**,

Variables**(** X**(** :age **)**, Y**(** :weight **)**, Y**(** :height **)** **)**,

Elements**(** Position**(** **1**, **1** **)**, Points**(** X, Y, **)**, Smoother**(** X, Y, **)** **)**,

Elements**(** Position**(** **1**, **2** **)**, Points**(** X, Y, **)**, Smoother**(** X, Y, **)** **)**

**)**;

gbr = Report**(** gb **)**;

legend = gbr**[**LegendBox**(** **1** **)]**;

legend << orientation**(** "horizontal" **)**;

gbr**[**Outline Box**(** **1** **)]** << append**(** legend **)**;

legend << delete;

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

Re: How to move the legend part to the bottom

It works like a magic. Thanks a lot for your help.

Highlighted
##

Hi, one more problem I got now is I can't copy the whole graph to other place. I tried to ctrl-c and ctrl-v and it only allowed me to copy the graph itself, not with legend together. Do you know to how to copy the whole thing in a quick way? Thanks again.

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

Re: How to move the legend part to the bottom

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

Re: How to move the legend part to the bottom

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

Re: How to move the legend part to the bottom