BookmarkSubscribeRSS Feed
Choose Language Hide Translation Bar
acid1c
Community Trekker

Response Surface Plot With Projection

How can I generate a response surface plot with a projection, as seen in the following diagram:

9387_RSP.png

Source: P. Kardar, M. Ebrahimi, S. Bastani, M. Jalili, Progress in Organic Coatings, 64(2009), 74-80

0 Kudos
2 REPLIES 2
acid1c
Community Trekker

Re: Response Surface Plot With Projection

^ Bump to the top

0 Kudos
ian_jmp
Staff

Re: Response Surface Plot With Projection

The Surface Plot can do something similar if you select the correct options. See the documentation, particularly Surface Plot Controls and Settings.

The code below shows an example: Do 'File > New > New Script', cut and paste it, then 'Edit > Run Script'.

NamesDefaultToHere(1);

dt = New Table( "Surface Plot Options",

  Add Rows( 0 ),

  New Column( "x", Numeric, "Continuous", Format( "Best", 12 ), Set Values( [] ) ),

  New Column( "y", Numeric, "Continuous", Format( "Best", 12 ), Set Values( [] ) ),

  New Column( "z",

  Numeric,

  "Continuous",

  Format( "Best", 12 ),

  Formula( Sin( Sqrt( :x ^ 2 + :y ^ 2 ) ) / Sqrt( :x ^ 2 + :y ^ 2 ) )

  )

  );

dt << Surface Plot(

  Columns( :z ),

  Show Contour( "Below" ),

  Formula( "z" ),

);


9459_Screen Shot 2015-08-11 at 15.14.39.png