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
- :
- Map Shape role in Graph Builder - Only 1 point is shown in each state

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

Apr 4, 2016 8:30 AM
(8627 views)

I created a graph using latitude (Y axis) and longitude (X axis). I used STATE column for Map Shape. I now see an outline of the united states, but the problem I have is it does not show more than one city in each state. It will not show a point for Flagstaff and Phoenix....only one dot for Phoenix. any suggestions to show more than one city in a state?

thanks

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

8 REPLIES 8

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

Re: Graph Builder - Map Shapes

Uncheck X and Y under Points/Variables in the control panel.

In JMP 10 all points would have been shown directly but from JMP 11 the "average" location is shown by default.

Graph Builder**(**

Variables**(**X**(**:longitude**)**, Y**(**:latitude**)**, Shape**(**:state**))**,

Elements**(**Points**(**Legend**(****9****))**, Smoother**(**X, Y, Legend**(****8****)))**,

**)**

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

Re: Graph Builder - Map Shapes

I can see all the points now, thank-you. I have a follow-up question.

Is there a reason why the cities don't match up with the latitude and longitude accurately? For example, in Florida, the points for Pinellas Park and Key West don't line up well. They don't match the location on the state or with the x and y axis. Could the format of latitude and longitude be incorrect?

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

Re: Graph Builder - Map Shapes

If you notice, by putting the state in the shape box you may or may not have noticed Alaska and Hawaii at the bottom. JMP is obviously not strictly following latitude and longitude. If you want the cities to line up correctly instead of just being center of state, right lick >> graph >> Background Map... Under boundaries select US States.

```
Graph Builder(
Variables( X( :longitude ), Y( :latitude ) ),
Elements( Points( X, Y, Legend( 3 ) ), Smoother( X, Y, Legend( 4 ) ) ),
SendToReport(
Dispatch(
{},
"Graph Builder",
FrameBox,
{Background Map( Boundaries( "US States" ) ), Grid Line Order( 2 ),
Reference Line Order( 3 )}
)
)
);
```

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

Re: Graph Builder - Map Shapes

*map shape* variable. That should show all points at their right location.

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

Re: Graph Builder - Map Shapes

This works. Thank-you for your help!

Best regards,

Rob Summers

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

Re: Graph Builder - Map Shapes

The Alaska and Hawaii insets have their own axes that are not shown - all mainland points should follow the visible axes. My graph looks different than yours. This image is from JMP 11.2.1, and it looks similar in JMP 12.2. Which version do you have?

Graph Builder**(**

Size**(** **636**, **577** **)**,

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

Variables**(** X**(** :longitude **)**, Y**(** :latitude **)** **)**,

Elements**(** Points**(** X, Y, Legend**(** **1** **)**, Jitter**(** **1** **)** **)** **)**,

SendToReport**(**

Dispatch**(**

**{}**,

"longitude",

ScaleBox,

**{**Scale**(** "Geodesic US" **)**, Minor Ticks**(** **0** **)}**

**)**,

Dispatch**(**

**{}**,

"latitude",

ScaleBox,

**{**Scale**(** "Geodesic US" **)**, Minor Ticks**(** **1** **)}**

**)**,

Dispatch**(**

**{}**,

"Graph Builder",

FrameBox,

**{**Background Map**(** Boundaries**(** "US States" **)** **)**, Grid Line Order**(** **2** **)**,

Reference Line Order**(** **3** **)}**

**)**

**)**

**)**;

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

Re: Graph Builder - Map Shapes

I have version 12.01

Best regards,

Rob Summers

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