turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- JMP User Community
- :
- Discussions
- :
- Discussions
- :
- Ternary Plot - Number of Contours

Topic Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Oct 26, 2015 2:26 PM
(2729 views)

Hi - I'm trying to change the number of contours shown for a response surface that's being displayed on a ternary plot. The example in the JMP Scripting Index has just five, but I want more than this. Simply increasing the number of values in the << Contour Value([n1, n2, n3, n4, n5]) property doesn't appear to work (where n1, n2, n3, n4 and n5 are the five values of the response surface for which I want contours), and I can't see any other property that I might need to amend to tell the Ternary Plot platform to expect more. Am I missing something obvious here?

Many thanks

Solved! Go to Solution.

1 ACCEPTED SOLUTION

Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Oct 26, 2015 7:01 PM
(5031 views)

3 REPLIES

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Oct 26, 2015 7:01 PM
(5032 views)

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Oct 27, 2015 3:39 AM
(2593 views)

Hi Lou,

Unfortunately it's the Ternary Plot I need to use; however I've just reproduced your chart above, and the Graph Builder does provide a clue - but not the answer. If I load the Donev Mixture data from the Design of Experiments section of the Sample Data, then remove all the terms involving :Wavelength from the model , fit it, and then save the prediction formula for :Damping back to the data table, I can compare the Graph Builder and the Ternary Plot functions directly by

Graph Builder(

Variables( X( :CuSO4 ), Y( :Na2S2O3 , Color( : Pred Formula Damping ) ),

Elements( Contour( X, Y, Number of Levels( 10 ) ) )

);

Ternary Plot(

Y( :CuSO4 ), :Na2S2O3, :Glyoxal ),

Contour Formula( : Pred Formula Damping ),

Contour Fill( "Fill Above" ),

Contour Value( [1, 3, 5, 7, 9] )

);

It looks as though I need to use that "Number of Levels( 10 )" parameter from the Graph Builder (or some variant of it) within the Ternary Plot, and then change the actual levels as defined in "Contour Value" to match. I just can't hit the right combination, that's all.

Many thanks!

[NB: if you copy the above script, remember to remove the spaces between the ":" and "Pred Formula Damping" before running it. If I try typing it in correctly, that combination produces an emoticon that I don't know how to switch off.]

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Oct 27, 2015 6:44 AM
(2593 views)

The Mixture Profiler is worth a look as well. The number of contour lines is editable.