cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • JMP Security Notice: CVE-2026-109618 and CVE-2026-109619

    JMP promptly initiated a review of its products, services, and relevant infrastructure for exposure to CVE-2026-109618 and CVE-2026-109619.

    Our assessment of JMP products has not identified exposure to these vulnerabilities. Where remediation was required within supporting environments, appropriate security updates and controls have been applied and validated.

    We have identified no evidence of successful exploitation or unauthorized access to JMP systems or customer information associated with these vulnerabilities.

    JMP continues to monitor the issue and relevant vendor guidance. No action is required by JMP customers at this time.

  • Don’t miss your chance to experience Discovery Summit Europe at our best available rate! Early bird registration through 31 Oct.
  • Graph Builder Toolbar streamlines interactive graphing. Creates shortcuts on Report and GraphBuilder Helpers toolbars. Download and install the extension.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
jthi
Super User

Scaling Map Shape axis when missing part of the data

Does anyone know if it is possible to force graph builder to scale the graph, when using Map Shape, based on the whole map property not just values you have? Currently it seems like if you don't have min-max values in your data, the scaling will only use the data you have even when using Show Missing Shapes option.

 

I know I can do it by scripting at least by checking the min-max values for axis (from -XY file) and setting them to the graph but I do have tens of different maps and it does complicate the script a lot.

 

Very quick demo of the situation with World map (my situation is with wafermaps):

 

Names Default To Here(1);

dt = Open("$SAMPLE_DATA/World Demographics.jmp"); 
dt << Select Where(:Territory == "United States"); 
dt << Invert Row Selection; 
dt << Hide and Exclude(1);

gbExclude = dt << Graph Builder(
     Size(534, 456),
     Show Control Panel(0),
     Variables(Shape(:Territory)),
     Elements(Map Shapes(Legend(4),
     Show Missing Shapes(1))) 
); 
 
gbExclude << title("I don't want always this"); repExclude = ReporT(gbExclude);

dt << Hide and Exclude(0);
gb = dt << Graph Builder(
     Size(534, 456),
     Show Control Panel(0),
     Lock Scales(1),
     Variables(Shape(:Territory)),
     Elements(Map Shapes(Legend(4), Show Missing Shapes(1))),
     SendToReport(
         Dispatch(
             {},
             "",
             ScaleBox,
             {Format("Longitude DDD", "PUNDIR", 14, 0), Min(-180.310158563482),
             Max(180.311408237786), Inc(50), Minor Ticks(0)}
         ),
         Dispatch(
             {},
             "",
             ScaleBox(2),
             {Format("Latitude DDD", "PUNDIR", 14, 0), Min(-156.734601885074),
             Max(144.680439023449), Inc(50), Minor Ticks(1)}
         )
     )
);
dt << Hide and Exclude(1);
gb << title("I want to be able to do this (with option)");

repGb = Report(gb);

nw = new window("",
     v list box(
         repExclude,
         repGb
     )
);
gbExclude << Close window;
gb << Close window;
nw << on close(close(dt, no save));

 

 

-Jarmo
1 REPLY 1
jthi
Super User

Re: Scaling Map Shape axis when missing part of the data

Created suggestion to wish list: Allow Map Shapes scaling on whole map shape file 

-Jarmo

Recommended Articles