Subscribe Bookmark RSS Feed

Export for each value in "Local Filter"

michael_behrisc

Community Trekker

Joined:

Nov 8, 2012

Hello,

I have the following setup:

  • Diagram with "standard" scatterplot
  • x, y Axis stay the same
  • The content changes according to the selected data filter value
  • Title should change according to the selected local data filter
  • See screenshot for the setup2793_screenshot.PNG

Now I need to export one image file for every possible entry in the data filter. If there are

10 values in the datafilter, 10 images should be produced. All with the title of the entry in the datafilter. AND

the Header has to change (Replacing Matrix1 with the value in the data filter)

Could somebody tell me how to do that?!?

Thanks Michael

1 REPLY
Jeff_Perkinson

Community Manager

Joined:

Jun 23, 2011

Hi Michael,

You can use your data filter column as a By() column in a Graph Builder script.

Open( "$SAMPLE_DATA\Big Class.jmp" );

Graph Builder(

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

  Elements( Points( X, Y, Legend( 1 ) ), Smoother( X, Y, Legend( 2 ) ) ),

  By( :age )

);


That will give you each of the graphs that you're looking for. Then you can save them as you will.

-Jeff

-Jeff