cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Try the Materials Informatics Toolkit, which is designed to easily handle SMILES data. This and other helpful add-ins are available in the JMP® Marketplace
Choose Language Hide Translation Bar
Jeff_Perkinson
Community Manager Community Manager

Translation in the JMP User Community

It appears that our new automatic translation is overly aggressive.

Best practice is to turn off the translation checkbox in the upper right before copying and pasting JSL.

We're going to keep working on ways to avoid this problem.

-Jeff

-Jeff
8 REPLIES 8
ron_horne
Super User (Alumni)

Re: Translation in the JMP User Community

thanks jeff.perkinson,

i have just removed the translator and re-posted with no problems (i hope).

Jeff_Perkinson
Community Manager Community Manager

Re: Translation in the JMP User Community

Thanks, ron_horne.

No need to repost. Readers (not authors) need to turn off the translation to ensure that the JSL hasn't been "translated" to something incorrect.

-Jeff

-Jeff
msharp
Super User (Alumni)

Re: Translation in the JMP User Community

On a related note, we can insert a code snippet with Insert>>Syntax Highlighting in the advance editor.  Will this code by auto-translated?  In addition, why isn't there a JSL option?

dt = Open( "$SAMPLE_DATA/Hurricanes.jmp" );;

// this produces the contures in linear scale

plot1 = dt << Bivariate( Y( :Latitude ), X( :Longitude ), Nonpar Density );

// extract the density to the data table

plot1 << (Curve[1] << Save Density Quantile);

plot1 << (Curve[1] << color by density Quantile);

// transform the density as you wish in a new column

dt << new column ("Ln Density", formula (ln(:Density)));

// plot the transformed density

dt << Contour Plot(

     X( :Latitude, :Longitude ),

     Y( :Ln Density ),

     Show Data Points( 0 ),

     Fill Areas( 0 ),

     Label Contours( 0 ),

     Transform( "None" ),

     Specify Contours(

          Min( -7 ),

          Max( -1 ),

          N( 7 ),

          Contour( 1, -7, -5793511 ),

          Contour( 2, -6, -8423637 ),

          Contour( 3, -5, -10725064 ),

          Contour( 4, -4, -12632256 ),

          Contour( 5, -3, -12885662 ),

          Contour( 6, -2, -13595764 ),

          Contour( 7, -1, -14828355 )

     ),

     SendToReport(

          Dispatch( {}, "Contour Legend", FrameBox, {Frame Size( 102, 235 )} )

     )

);

// another plotting option - a mix of linear coloring and the log scale.

Scatterplot 3D(

     Y( :Latitude, :Longitude, :Ln Density ),

     Frame3D(

          Set Grab Handles( 0 ),

          Set Rotation( -56.0113386746381, -13.7470705335584, 1.38294617183857 )

     )

);

msharp
Super User (Alumni)

Re: Translation in the JMP User Community

Looks like it doesn't auto-translate

Jeff_Perkinson
Community Manager Community Manager

Re: Translation in the JMP User Community

Yes, code inserted using the Syntax Highlighting is translated.

We'll work on getting JSL syntax highlighting. In the meantime C++ works pretty well.

-Jeff

-Jeff
pmroz
Super User

Re: Translation in the JMP User Community

Can someone please tell me how to reference another forum member with a link?  Like this: jeff.perkinson,?

I copied and pasted from one of the postings to get that.

Jeff_Perkinson
Community Manager Community Manager

Re: Translation in the JMP User Community

Hi PMroz​,

You can reference anything in the JMP User Community with an @ Mention.

Just type an @ sign and then start typing the title, name or other details of what you want to mention. The mention will be converted to a link automatically.

-Jeff

-Jeff
pmroz
Super User

Re: Translation in the JMP User Community

Hi jeff.perkinson​!  Aha thanks!