Subscribe Bookmark RSS Feed

Translation in the JMP User Community

Jeff_Perkinson

Community Manager

Joined:

Jun 23, 2011

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
ron_horne

Super User

Joined:

Jun 23, 2011

thanks jeff.perkinson,

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

Jeff_Perkinson

Community Manager

Joined:

Jun 23, 2011

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

Joined:

Jul 28, 2015

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

Joined:

Jul 28, 2015

Looks like it doesn't auto-translate

Jeff_Perkinson

Community Manager

Joined:

Jun 23, 2011

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

Joined:

Jun 23, 2011

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

Joined:

Jun 23, 2011

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

Joined:

Jun 23, 2011

Hi jeff.perkinson​!  Aha thanks!