cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Try the Materials Informatics Toolkit, which is designed to easily handle SMILES data. This and other helpful add-ins are available in the JMP® Marketplace
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}
        )}
    )
);