cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Sign-in to the JMP Community will be unavailable intermittently Dec. 6-7 due to a system update. Thank you for your understanding!
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.
  • JMP 19 is here! Learn more about the new features.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
UrsulaGarcz
Level II

Set Specific Tick Marks

I want to have a dedicated set of tick marks on my x-axis, namely the months at which a measurement was taken and thoose are irregular. I cannot find how to give e.g. a vector of values where I want the tick marks to be.

Can anybody point me to a description of how to do that? Or tell me that it cannot be done such that I can give up...

2 REPLIES 2
txnelson
Super User

Re: Set Specific Tick Marks

Maybe some other community member will have an idea on how to do this, but I am not aware of any built in way to do this.
Jim
UrsulaGarcz
Level II

Re: Set Specific Tick Marks

Thanks for taking the time to answer, at least I was overlooking the obvious.

I foundf a solution meanwhile and this is how it worked:

 

 

//It was necessary to print them and copy paste the result, as when i was using the variables timeticks and timetickslabel I was able to make JMP crash

//timeticks=aslist(concat(0,2::94::4,96))[1];
//timeticks_labels=list();
//for(ii=1,ii<=length(timeticks),ii++,timeticks_labels[ii]=char(timeticks[ii]));

sct << New Column( "AWK",
    numeric,
    continuous,
    formula( ADY / 7 ),
    Set Property(
        "Axis",
        {Min( -2 ), Max( 100 ), Minor Ticks( 1 ),
        Tick Label List(
            {"0", "2", "6", "10", "14", "18", "22", "26", "30", "34", "38", "42", "46",
            "50", "54", "58", "62", "66", "70", "74", "78", "82", "86", "90", "94",
            "96"},
            {0, 2, 6, 10, 14, 18, 22, 26, 30, 34, 38, 42, 46, 50, 54, 58, 62, 66, 70,
            74, 78, 82, 86, 90, 94, 96}
        )}
    )
);

 

Recommended Articles