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 can I move the x-axis on top of 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
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

How can I move the x-axis on top of graph?

Nov 12, 2017 3:53 PM
(1645 views)

Hi, I'm trying to create a trace element concentration profile and need to have the x-axis (concentrations) at the top of the graph so that it can show how the concentration varies down-core .. Is there any way to do this?

2 REPLIES 2

Highlighted
##

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

Re: How can I move the x-axis on top of graph?

If you run this script:

```
NamesDefaultToHere(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");
gb = dt << Graph Builder(
Size( 528, 452 ),
Show Control Panel( 0 ),
Variables( X( :weight ), Y( :height ) ),
Elements( Points( X, Y, Legend( 6 ) ) ),
SendToReport(
Dispatch(
{},
"weight",
ScaleBox,
{Label Row(
{Inside Ticks( 1 ), Show Major Grid( 1 ), Show Minor Grid( 1 ),
Show Minor Labels( 1 )}
)}
)
)
);
```

it produces:

(which you could make interactively, of course).

I then did 'Edit > Journal' to make a Journal file, then used the 'fat plus' tool to move elements around to make:

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

Re: How can I move the x-axis on top of graph?

Finally we discover a reason why we might want to select the axes in isolation from the graph :)

-Dave