Subscribe Bookmark RSS Feed

jsl: How to maintain font preferences when saving bivariate plot

mws

Community Trekker

Joined:

Oct 10, 2012

I have a script that creates a bivariate plot. I want to save the graph as an eps file to a folder for later enhancement using Illustrator. I have my preferences set to use the required font for our illlustrations (Univers) for the axis labels and ticks. However, when I use the save picture script, the font in the eps file is Times Roman. Any way prevent this font substitition? If I save the file as png, the font is Univers as expected.

jmp 9.03, OSX 10.6.8

biv = Bivariate(

  Y( :Recovery percent ),

  X( :Name( "Storage (days)" ) ),

  Where( :Compound Name == "Acetochlor" ),

  SendToReport(

  Dispatch( {}, "1", ScaleBox, {Min( -2.5 ), Max( 30 ), Inc( 5 ), Minor Ticks( 1 )} ),

  Dispatch(

  {},

  "2",

  ScaleBox,

  {Format( "Best", 12 ), Min( 0 ), Max( 200 ), Inc( 10 ), Minor Ticks( 0 ),

  Add Ref Line( 100, Solid, "Black" ), Add Ref Line( 70, Dashed, "Black" ),

  Add Ref Line( 77, Dotted, "Black" ), Add Ref Line( 130, Dashed, "Black" )}

  ),

Dispatch( {}, "Bivar Plot", FrameBox, {Frame Size( 192, 144 )} )

  )

);

rbiv = biv << Report;

rbiv[Picture Box( 1 )] << save picture( path || "myGraph.eps", eps );