cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Browse apps to extend the software in the new JMP Marketplace
Choose Language Hide Translation Bar
hogi
Level XII

Collection of "funny" Jmp newbie questions

good to know:

- how to do this and that in Jmp?

- where Jmp is different from other programs

- where Jmp is different from Jmp (inconsistencies)

 

[More Topic Containers like this]

 

 

Topicadditional info
Data Tables 

Why is it not possible in Jmp:
- to define a formula for a specific cell?

- to select any 2 cells in a spreadsheet?

JMP is Not a Spreadsheet 

Is there a tutorial how to "slice" matrices? 
matrix[5::-1]

answer

NB: The indexing of matrices will be improved in a future version of Jmp

why new table()? answer  
why is there no dt << n rows()?answer
Why does add row add a row to a data table - but doesn't add the values?answer
Why are there different column names for data imported via Open and MFI?answer

Is there something in JMP like freeze pane in Excel?

lock Columns

 Why do I need a numeric column to add a column with row numbers?

 

 

 

Graph Builder

 

Why do FitYbyX and GraphBuilder use different color codings?

answer

 When comes (collision free) Column Switcher 2.0? 

wish:
Add new switcher called Role Switcher 

GUI

 
Why is there no Select mode in the Local Data Filter - like the one from (global) Data Filter?wish:
Local Data Filter - don't disable the SELECT option 
In the Join Tables Platform, what's the difference between
Update main table with data from second ta...
 
The submenus of my Jmp installation open to the left
- Where is the setting to move the submenus to t...
 
Why does Scripting Index/See also not list the function xyz ?you want more items to show up in see also ?
suggest them here:
Scripting Index and online Help: "see also" 
  
36 REPLIES 36
txnelson
Super User

Re: Collection of "funny" JSL newbie questions

I am not even sure that if the original developers of the syntax in question responded, that they would be able to say precisely why 

new data table()

isn't the syntax to use.

Having worked my whole career with software systems developed by other people and organizations I find it is more productive to as "How do I do it", rather than "Why doesn't it do it this or that way".  The only real answer to the later question is "Because I wasn't the software developer, someone else was"

Jim
hogi
Level XII

Re: Collection of "funny" JSL newbie questions

Yes, that's right, your posts live the spirit of "How do I do it"
I am always totally thrilled how you think out of the box and manage to get to the other side of a locked door, like such manually concatenated Strings plus a 

parse( )

and that's it.

 

It's just that the need for "please read the Help and check the scripting index" would be less if the "easy doors" were all unlocked by default

Alternative approach:  detour signs in the scripting Index
https://community.jmp.com/t5/JMP-Wish-List/Scripting-Index-and-online-Help-quot-see-also-quot/idi-p/...

txnelson
Super User

Re: Collection of "funny" JSL newbie questions

The inconsistencies in JMP are unfortunately a known issue.  The positive side is that when new releases come out, over time one sees that efforts are made to clean up the inconsistencies.  I strongly suggest that your observations be added to the JMP Wish List.  That way they get officially noted to those that can actually make changes.

Jim
txnelson
Super User

Re: Collection of "funny" JSL newbie questions

It is a simple matter to slice matrices

names default to here(1);

mat = [10 20 30 40 50, 15 25 35 45 55];
show( mat[1,0]);
show( mat[1,2::4]);
/*:

mat[1,0] = [10 20 30 40 50];
mat[1,Index(2, 4)] = [20 30 40];
Jim
jthi
Super User

Re: Collection of "funny" JSL newbie questions

  • Is there a tutorial how to "slice" matrices?
    • What is the JSL Matrix? 
    • Try using 0
    • Names Default To Here(1);
      
      m = J(2,5,1);
      Show(m[1,0]);
      Show(m[0,1]);
      Show(m[0,0]);
  • why are there so many messages that I can send to a data table but not
    • Data table object doesn't seem to have N Rows. N Rows is a different function which can be used on different objects
    • jthi_1-1666363310475.png
  • Why does add row add a row to a data table - but not the values?

    • Add Row does work (no idea why...) but you have to use different syntax when adding values (see Add Rows).
    • jthi_2-1666363406781.png
    • Names Default To Here(1);
      
      dt = New Table( "Untitled" );
      dt << Add Row({"Column 1"n = 1});
      dt << Add Rows({"Column 1"n = 2});
-Jarmo
hogi
Level XII

Re: Collection of "funny" JSL newbie questions

Workaround for add row(with values):
collect the info in a Table Box, then use

hogi_0-1666368560963.png

and copy the data to a data table.



hogi
Level XII

Re: Collection of "funny" JSL newbie questions

Hi,

in the Scripting Index, there is a button "see also" which suggests the interested user alternative functions in the context of an initial found function.

Unfortunalely, there are some "links" missing between the entries. e.g. 

get <-> set clipboard

N Args <-> Head

I posted a "container" wish to collect such missing links such that they can be added:
Scripting Index and online Help: "see also" 


Did it happen to you as well that you search a function in the Scripting Index for some while and found out that you cannot find the right term to search it?
If you found the correct function afterwards by luck, could you please add a screenshot to the "container" wish to help other users to find the function faster ...

 

... and support the idea with a Kudo : )

hogi
Level XII

Re: Collection of "funny" JSL newbie questions

Why is there no Select mode in the Local Data Filter - like the one from (global) Data Filter?

 

hogi_0-1670618603487.png vs. hogi_1-1670618638598.png

 

ian_jmp
Level X

Re: Collection of "funny" JSL newbie questions

The 'Local Data Filter' applies to just the report from which you call it up, and a table may have multiple reports open at the same time. Allowing row selections this way could be confusing! On the other hand, there can only be one 'Data Filter' for a given table, and it affects all child reports of that table (so long as they don't have their own Local Data Filter). 

hogi
Level XII

Re: Collection of "funny" JSL newbie questions

Local data filter just has a local effect. I don't understand why the effect with 'select' was more confusing than the effect with 'include' enabled. Why confusing at all?

Local include determines which data is displayed in the current plot. Local select would determine which data is highlighted in the current plot.
Opposite to the general data filter, it's not the intention of a local data filter that anything in the underlying data table is selected / excluded

 

Hm, if "don't confuse the user" was indeed the argument why the option got disabled ...
then I would be happy if there was an option to re-enable the Select option (e.g. very hidden, by Shift Right-Click or so)
I mean: For those useful applications where the user will not be confused, but thrilled by the new possibilities
my wish: 

Local Data Filter - don't disable the SELECT option