Subscribe Bookmark RSS Feed

Response Surface Plot With Projection

acid1c

Community Trekker

Joined:

Jul 23, 2015

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

2 REPLIES
acid1c

Community Trekker

Joined:

Jul 23, 2015

^ Bump to the top

ian_jmp

Staff

Joined:

Jun 23, 2011

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