cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • JMP will suspend normal business operations for our Winter Holiday beginning on Wednesday, Dec. 24, 2025, at 5:00 p.m. ET (2:00 p.m. ET for JMP Accounts Receivable).
    Regular business hours will resume at 9:00 a.m. EST on Friday, Jan. 2, 2026.
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.

Discussions

Solve problems, and share tips and tricks with other JMP users.
%3CLINGO-SUB%20id%3D%22lingo-sub-337994%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%E5%9F%BA%E6%BA%96%E7%B7%9A%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-337994%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%E3%81%93%E3%82%93%E3%81%AB%E3%81%A1%E3%81%AF%E3%80%82%E3%82%B0%E3%83%A9%E3%83%95%E3%83%93%E3%83%AB%E3%83%80%E3%83%BC%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%97%E3%83%88%E3%82%92%E7%B7%A8%E9%9B%86%E3%81%97%E3%81%A6%E3%80%81%E4%BB%A3%E3%82%8F%E3%82%8A%E3%81%AB%E3%83%86%E3%83%BC%E3%83%96%E3%83%AB%E5%A4%89%E6%95%B0%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%A6%E3%82%B0%E3%83%A9%E3%83%95%E3%81%AB%E5%8F%82%E7%85%A7%E7%B7%9A%E3%82%92%E3%83%97%E3%83%AD%E3%83%83%E3%83%88%E3%81%97%E3%82%88%E3%81%86%E3%81%A8%E3%81%97%E3%81%A6%E3%81%84%E3%81%BE%E3%81%99%E3%80%82%E3%81%93%E3%82%8C%E3%81%AF%E3%80%81%E5%9C%A7%E5%8A%9B%E6%90%8D%E5%A4%B1%E3%81%A8%E6%97%A5%E4%BB%98%E3%81%AE%E3%83%97%E3%83%AD%E3%83%83%E3%83%88%E3%81%A7%E3%81%99%E3%80%82%20y%E8%BB%B8%E3%81%AE%E5%9F%BA%E6%BA%96%E7%B7%9A%E3%81%AB%E5%95%8F%E9%A1%8C%E3%81%AF%E3%81%82%E3%82%8A%E3%81%BE%E3%81%9B%E3%82%93%E3%81%8C%E3%80%81x%E8%BB%B8%E3%81%AE%E5%9F%BA%E6%BA%96%E7%B7%9A%E3%81%AB%E5%95%8F%E9%A1%8C%E3%81%8C%E3%81%82%E3%82%8A%E3%81%BE%E3%81%99%E3%80%82%20Date%20MDY%EF%BC%88%EF%BC%89%E9%96%A2%E6%95%B0%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%A6%E3%83%86%E3%83%BC%E3%83%96%E3%83%AB%E5%A4%89%E6%95%B0%E3%82%92%E7%B5%84%E3%81%BF%E8%BE%BC%E3%82%93%E3%81%A7%E3%81%BF%E3%81%BE%E3%81%97%E3%81%9F%E3%81%8C%E3%80%81%E6%A9%9F%E8%83%BD%E3%81%97%E3%81%BE%E3%81%9B%E3%82%93%E3%80%82%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-337994%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CLINGO-LABEL%3E%E3%83%87%E3%83%BC%E3%82%BF%E8%A1%A8%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-338015%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%EF%BC%9A%E5%9F%BA%E6%BA%96%E7%B7%9A%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-338015%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3COL%3E%0A%3CLI%3EX%E8%BB%B8%E3%81%AF%E6%95%B0%E5%80%A4%E5%88%97%E3%81%A7%E3%81%99%E3%81%8B%EF%BC%9F%3C%2FLI%3E%0A%3CLI%3EX%E8%BB%B8%E3%81%AFJMP%E3%81%AE%E6%97%A5%E4%BB%98%2F%E6%99%82%E5%88%BB%E5%88%97%E3%81%A7%E3%81%99%E3%81%8B%EF%BC%9F%3C%2FLI%3E%0A%3CLI%3E%E3%83%86%E3%83%BC%E3%83%96%E3%83%AB%E5%A4%89%E6%95%B0%E3%81%AF%E3%81%99%E3%81%B9%E3%81%A6%E6%96%87%E5%AD%97%E5%88%97%E3%81%A7%E3%81%99%E3%80%82%E6%96%87%E5%AD%97%E3%81%A8%E3%81%97%E3%81%A6%E4%BD%BF%E7%94%A8%E3%81%97%E3%82%88%E3%81%86%E3%81%A8%E3%81%97%E3%81%A6%E3%81%84%E3%81%BE%E3%81%99%E3%81%8B%EF%BC%9FX%E8%BB%B8%E3%81%AF%E6%95%B0%E5%80%A4%E3%81%A7%E3%81%99%E3%80%82%E3%82%82%E3%81%97%E3%81%9D%E3%81%86%E3%81%AA%E3%82%89%E3%80%81%E3%81%82%E3%81%AA%E3%81%9F%E3%81%AF%E3%81%9D%E3%82%8C%E3%82%92%E6%95%B0%E5%80%A4%E3%81%AB%E5%A4%89%E6%8F%9B%E3%81%99%E3%82%8B%E5%BF%85%E8%A6%81%E3%81%8C%E3%81%82%E3%82%8A%E3%81%BE%E3%81%99%E3%80%82%3C%2FLI%3E%0A%3CLI%3E%E3%82%B5%E3%83%B3%E3%83%97%E3%83%AB%E3%83%87%E3%83%BC%E3%82%BF%E3%83%86%E3%83%BC%E3%83%96%E3%83%AB%E3%81%A8%E3%82%B0%E3%83%A9%E3%83%95%E3%81%AE%E3%82%B5%E3%83%B3%E3%83%97%E3%83%AB%E3%82%92%E6%8F%90%E4%BE%9B%E3%81%A7%E3%81%8D%E3%81%BE%E3%81%99%E3%81%8B%EF%BC%9F%3C%2FLI%3E%0A%3C%2FOL%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-338032%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%EF%BC%9A%E5%9F%BA%E6%BA%96%E7%B7%9A%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-338032%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%E3%82%B8%E3%83%A0%E3%81%AF%E3%81%8A%E3%81%9D%E3%82%89%E3%81%8F%E6%AD%A3%E3%81%97%E3%81%84%E8%B3%AA%E5%95%8F%E3%82%92%E3%81%97%E3%81%BE%E3%81%97%E3%81%9F%E3%81%8C%E3%80%81%E3%81%93%E3%81%93%E3%81%AB%E4%BE%8B%E3%81%8C%E3%81%82%E3%82%8A%E3%81%BE%E3%81%99%3CA%20href%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2FJSL-Cookbook%2FUse-Summary-to-Automatically-Add-Reference-Lines-to-Graph%2Fm-p%2F41709%23U41709%22%20class%3D%22lia-mention-container-editor-message%20lia-img-icon-tkb-thread%20lia-fa-icon%20lia-fa-tkb%20lia-fa-thread%20lia-fa%22%20target%3D%22_blank%22%3E%E3%82%B5%E3%83%9E%E3%83%AA%E3%83%BC%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%A6%E3%80%81%E3%82%B0%E3%83%A9%E3%83%95%E3%83%93%E3%83%AB%E3%83%80%E3%83%BC%E3%81%AB%E5%8F%82%E7%85%A7%E7%B7%9A%E3%82%92%E8%87%AA%E5%8B%95%E7%9A%84%E3%81%AB%E8%BF%BD%E5%8A%A0%E3%81%97%E3%81%BE%E3%81%99%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-338033%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%EF%BC%9A%E5%9F%BA%E6%BA%96%E7%B7%9A%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-338033%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%E3%81%93%E3%82%93%E3%81%AB%E3%81%A1%E3%81%AF%E3%80%81x%E8%BB%B8%E3%81%AF%E6%97%A5%E4%BB%98%2F%E6%99%82%E5%88%BB%E3%81%AE%E5%88%97%E3%81%A7%E3%80%81y%E8%BB%B8%E3%81%AF%E6%95%B0%E5%80%A4%E3%81%AE%E9%80%A3%E7%B6%9A%E3%81%97%E3%81%9F%E5%88%97%E3%81%A7%E3%81%99%E3%80%82%20y%E3%81%A8x%E3%82%92%E3%83%97%E3%83%AD%E3%83%83%E3%83%88%E3%81%97%E3%80%81%E3%82%B0%E3%83%A9%E3%83%95%E3%82%92%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%97%E3%83%88%E3%81%A8%E3%81%97%E3%81%A6%E4%BF%9D%E5%AD%98%E3%81%97%E3%81%BE%E3%81%97%E3%81%9F%E3%80%82%20%E5%8F%82%E7%85%A7%E7%B7%9A%E3%81%AF%E3%80%81y%E8%BB%B8%3D%207%E3%80%81x%E8%BB%B8%3D%209%2F1%2F2023%E3%81%AA%E3%81%A9%E3%81%AE%E5%86%85%E9%83%A8%E3%81%AB%E6%89%8B%E5%8B%95%E3%81%A7%E8%BF%BD%E5%8A%A0%E3%81%95%E3%82%8C%E3%81%BE%E3%81%97%E3%81%9F%E3%80%82%3CBR%20%2F%3E%E6%AC%A1%E3%81%AB%E3%80%81%E5%80%A47%E3%81%AEdplimit%E3%81%A8%E3%81%84%E3%81%86%E3%83%86%E3%83%BC%E3%83%96%E3%83%AB%E5%A4%89%E6%95%B0%E3%82%92%E4%BD%9C%E6%88%90%E3%81%97%E3%81%BE%E3%81%97%E3%81%9F%E3%80%82%20%E3%82%B0%E3%83%A9%E3%83%95%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%97%E3%83%88%E3%82%92%E7%B7%A8%E9%9B%86%E3%81%97%E3%80%81%E5%8F%82%E7%85%A7%E7%B7%9A%E3%81%AE%E5%85%A5%E5%8A%9B%E3%82%92%EF%BC%9Adp%20limit%E3%81%AB%E7%BD%AE%E3%81%8D%E6%8F%9B%E3%81%88%E3%81%9F%E3%81%A8%E3%81%93%E3%82%8D%E3%80%81%E6%A9%9F%E8%83%BD%E3%81%97%E3%81%BE%E3%81%97%E3%81%9F%E3%80%82%20%E3%81%97%E3%81%9F%E3%81%8C%E3%81%A3%E3%81%A6%E3%80%81dp%E5%88%B6%E9%99%90%E5%A4%89%E6%95%B0%E3%82%92%E5%A4%89%E6%9B%B4%E3%81%99%E3%82%8B%E3%81%A8%E3%80%81%E3%82%B0%E3%83%A9%E3%83%95%E3%81%AE%E5%8F%82%E7%85%A7%E7%B7%9A%E3%81%8C%E5%A4%89%E6%9B%B4%E3%81%95%E3%82%8C%E3%81%BE%E3%81%99%E3%80%82%20x%E8%BB%B8%E3%81%AE%E5%9F%BA%E6%BA%96%E7%B7%9A%E3%81%AB%E3%81%A4%E3%81%84%E3%81%A6%E3%82%82%E5%90%8C%E3%81%98%E3%81%93%E3%81%A8%E3%81%AF%E3%81%A7%E3%81%8D%E3%81%BE%E3%81%9B%E3%82%93%E3%80%82%20%E3%81%93%E3%82%8C%E3%81%AF%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%97%E3%83%88%E5%86%85%E3%81%AE%E4%B8%80%E9%80%A3%E3%81%AE%E6%95%B0%E5%AD%97%E3%81%A7%E3%81%82%E3%82%8A%E3%80%81%E7%A7%92%E5%BD%A2%E5%BC%8F%E3%81%AE%E6%97%A5%E4%BB%98%2F%E6%99%82%E5%88%BB%E3%81%A0%E3%81%A8%E6%80%9D%E3%81%84%E3%81%BE%E3%81%99%E3%80%82%20%E3%81%9D%E3%82%8C%E3%81%8C%E6%A9%9F%E8%83%BD%E3%81%99%E3%82%8B%E3%81%9F%E3%82%81%E3%81%AB%E3%83%86%E3%83%BC%E3%83%96%E3%83%AB%E5%A4%89%E6%95%B0%E3%81%A8%E3%81%97%E3%81%A6%E4%BD%95%E3%82%92%E5%85%A5%E5%8A%9B%E3%81%99%E3%81%B9%E3%81%8D%E3%81%8B%E3%82%8F%E3%81%8B%E3%82%8A%E3%81%BE%E3%81%9B%E3%82%93%E3%80%82%20%E3%81%93%E3%82%8C%E3%81%8C%E3%82%88%E3%82%8A%E6%98%8E%E7%A2%BA%E3%81%AB%E3%81%AA%E3%82%8B%E3%81%93%E3%81%A8%E3%82%92%E9%A1%98%E3%81%A3%E3%81%A6%E3%81%84%E3%81%BE%E3%81%99%E3%80%81%E3%81%82%E3%82%8A%E3%81%8C%E3%81%A8%E3%81%86%EF%BC%81%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-338054%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%EF%BC%9A%E5%9F%BA%E6%BA%96%E7%B7%9A%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-338054%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%E5%89%8D%E3%81%AB%E8%BF%B0%E3%81%B9%E3%81%9F%E3%82%88%E3%81%86%E3%81%AB%E3%80%81%E3%83%86%E3%83%BC%E3%83%96%E3%83%AB%E5%A4%89%E6%95%B0%E3%81%AF%E6%96%87%E5%AD%97%E5%88%97%E3%81%A7%E3%81%99%E3%80%82JMP%20DateTime%E5%80%A4%E3%81%AF%E3%80%811904%E5%B9%B41%E6%9C%881%E6%97%A5%E3%81%8B%E3%82%89%E3%81%AE%E7%A7%92%E6%95%B0%E3%81%A7%E3%81%99%E3%80%82%E3%81%97%E3%81%9F%E3%81%8C%E3%81%A3%E3%81%A6%E3%80%81%E3%83%86%E3%83%BC%E3%83%96%E3%83%AB%E5%A4%89%E6%95%B0%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%99%E3%82%8B%E5%89%8D%E3%81%AB%E3%80%81DateTime%E5%80%A4%E3%81%AB%E5%A4%89%E6%8F%9B%E3%81%99%E3%82%8B%E5%BF%85%E8%A6%81%E3%81%8C%E3%81%82%E3%82%8A%E3%81%BE%E3%81%99%E3%80%82%E4%BB%A5%E4%B8%8B%E3%81%AEJSL%E3%81%A7%E3%81%AF%E3%80%81Informat%EF%BC%88%EF%BC%89%E9%96%A2%E6%95%B0%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%A6%E5%80%A4%E3%82%92%E5%A4%89%E6%8F%9B%E3%81%99%E3%82%8B%E3%81%93%E3%81%A8%E3%82%92%E9%81%B8%E6%8A%9E%E3%81%97%E3%81%BE%E3%81%99%E3%80%82%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22ref.PNG%22%20style%3D%22width%3A%20696px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22ref.PNG%22%20style%3D%22width%3A%20696px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F28658iE44D2A7AE1FB45DB%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22ref.PNG%22%20alt%3D%22ref.PNG%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%26nbsp%3B%26nbsp%3B%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3ENames%20Default%20To%20Here(%201%20)%3B%0Adt%20%3D%20New%20Table(%20%22Example%22%2C%0A%20Add%20Rows(%20355%20)%2C%0A%20New%20Table%20Variable(%20%22Reference%20Date%22%2C%20%2207%2F15%2F2001%22%20)%2C%0A%20New%20Column(%20%22Event%20Date%22%2C%0A%20%20Format(%20%22m%2Fd%2Fy%22%2C%2012%20)%2C%0A%20%20Input%20Format(%20%22m%2Fd%2Fy%22%20)%2C%0A%20%20Set%20Values(%0A%20%20%20%5B3061584000%2C%203061584000%2C%203061756800%2C%203061756800%2C%203062016000%2C%203062102400%2C%203062275200%2C%203062275200%2C%203062361600%2C%203062361600%2C%203062620800%2C%0A%20%20%203062707200%2C%203062880000%2C%203062966400%2C%203063052800%2C%203063139200%2C%203063139200%2C%203063139200%2C%203063398400%2C%203063484800%2C%203063830400%2C%203064089600%2C%0A%20%20%203064089600%2C%203064089600%2C%203064262400%2C%203064262400%2C%203064348800%2C%203064348800%2C%203064435200%2C%203064435200%2C%203064435200%2C%203064608000%2C%203064608000%2C%0A%20%20%203064694400%2C%203064780800%2C%203064867200%2C%203064867200%2C%203064953600%2C%203065040000%2C%203065040000%2C%203065040000%2C%203065126400%2C%203065299200%2C%203065299200%2C%0A%20%20%203065385600%2C%203065472000%2C%203065558400%2C%203065731200%2C%203065990400%2C%203066163200%2C%203066422400%2C%203066681600%2C%203066854400%2C%203066940800%2C%203066940800%2C%0A%20%20%203066940800%2C%203067027200%2C%203067200000%2C%203067804800%2C%203067891200%2C%203067891200%2C%203068064000%2C%203068236800%2C%203068409600%2C%203068582400%2C%203068668800%2C%0A%20%20%203068755200%2C%203068841600%2C%203068841600%2C%203068841600%2C%203068928000%2C%203069014400%2C%203069014400%2C%203069360000%2C%203069446400%2C%203069532800%2C%203069619200%2C%0A%20%20%203069619200%2C%203069705600%2C%203069705600%2C%203069705600%2C%203069878400%2C%203070051200%2C%203070051200%2C%203070310400%2C%203070310400%2C%203070396800%2C%203070483200%2C%0A%20%20%203070742400%2C%203070742400%2C%203070742400%2C%203070915200%2C%203071088000%2C%203071174400%2C%203071260800%2C%203071260800%2C%203071433600%2C%203071433600%2C%203071520000%2C%0A%20%20%203071865600%2C%203071952000%2C%203071952000%2C%203072384000%2C%203072384000%2C%203072470400%2C%203072470400%2C%203072556800%2C%203072556800%2C%203072556800%2C%203072643200%2C%0A%20%20%203072643200%2C%203072729600%2C%203072816000%2C%203072988800%2C%203073075200%2C%203073248000%2C%203073334400%2C%203073334400%2C%203073334400%2C%203073507200%2C%203073507200%2C%0A%20%20%203073680000%2C%203073680000%2C%203073766400%2C%203073766400%2C%203073766400%2C%203073852800%2C%203073852800%2C%203073852800%2C%203073939200%2C%203074284800%2C%203074284800%2C%0A%20%20%203074371200%2C%203074371200%2C%203074371200%2C%203074371200%2C%203074371200%2C%203074371200%2C%203074457600%2C%203074630400%2C%203074630400%2C%203074716800%2C%203074976000%2C%0A%20%20%203074976000%2C%203075062400%2C%203075235200%2C%203075321600%2C%203075321600%2C%203075408000%2C%203075494400%2C%203075494400%2C%203075494400%2C%203075494400%2C%203075494400%2C%0A%20%20%203075494400%2C%203075494400%2C%203075667200%2C%203075926400%2C%203075926400%2C%203076012800%2C%203076099200%2C%203076185600%2C%203076185600%2C%203076272000%2C%203076272000%2C%0A%20%20%203076272000%2C%203076876800%2C%203076876800%2C%203076963200%2C%203077222400%2C%203077308800%2C%203077308800%2C%203077568000%2C%203077568000%2C%203077654400%2C%203077654400%2C%0A%20%20%203077740800%2C%203077827200%2C%203077827200%2C%203077913600%2C%203077913600%2C%203078000000%2C%203078000000%2C%203078172800%2C%203078259200%2C%203078345600%2C%203078432000%2C%0A%20%20%203078518400%2C%203078518400%2C%203078518400%2C%203078518400%2C%203078518400%2C%203078604800%2C%203078604800%2C%203078691200%2C%203078777600%2C%203078777600%2C%203078777600%2C%0A%20%20%203078950400%2C%203078950400%2C%203078950400%2C%203079123200%2C%203079123200%2C%203079123200%2C%203079123200%2C%203079123200%2C%203079209600%2C%203079296000%2C%203079296000%2C%0A%20%20%203079382400%2C%203079382400%2C%203079468800%2C%203079468800%2C%203079641600%2C%203079728000%2C%203079728000%2C%203079814400%2C%203079814400%2C%203079814400%2C%203080160000%2C%0A%20%20%203080160000%2C%203080246400%2C%203080246400%2C%203080332800%2C%203080332800%2C%203080419200%2C%203080419200%2C%203080505600%2C%203080592000%2C%203080678400%2C%203080851200%2C%0A%20%20%203081024000%2C%203081024000%2C%203081024000%2C%203081196800%2C%203081283200%2C%203081283200%2C%203081369600%2C%203081369600%2C%203081369600%2C%203081456000%2C%203081456000%2C%0A%20%20%203081456000%2C%203081456000%2C%203081542400%2C%203081628800%2C%203081715200%2C%203081715200%2C%203081715200%2C%203081715200%2C%203081888000%2C%203081974400%2C%203082060800%2C%0A%20%20%203082060800%2C%203082060800%2C%203082492800%2C%203082492800%2C%203082492800%2C%203082492800%2C%203082752000%2C%203082838400%2C%203082838400%2C%203082838400%2C%203082924800%2C%0A%20%20%203083011200%2C%203083011200%2C%203083011200%2C%203083011200%2C%203083270400%2C%203083443200%2C%203083961600%2C%203084134400%2C%203084134400%2C%203084220800%2C%203084480000%2C%0A%20%20%203084566400%2C%203084566400%2C%203084739200%2C%203084912000%2C%203084912000%2C%203084998400%2C%203084998400%2C%203085084800%2C%203085257600%2C%203085516800%2C%203085516800%2C%0A%20%20%203085776000%2C%203086035200%2C%203086035200%2C%203086208000%2C%203086208000%2C%203086294400%2C%203086294400%2C%203086380800%2C%203086467200%2C%203086467200%2C%203086553600%2C%0A%20%20%203086553600%2C%203086553600%2C%203086553600%2C%203086640000%2C%203086985600%2C%203087072000%2C%203087244800%2C%203087244800%2C%203087331200%2C%203087590400%2C%203087590400%2C%0A%20%20%203087590400%2C%203087676800%2C%203087676800%2C%203087763200%2C%203087936000%2C%203088022400%2C%203088195200%2C%203088281600%2C%203088368000%2C%203088368000%2C%203088368000%2C%0A%20%20%203088454400%2C%203088540800%2C%203088627200%2C%203088713600%2C%203088713600%2C%203088886400%2C%203088972800%2C%203089145600%2C%203089145600%2C%203089232000%2C%203089232000%2C%0A%20%20%203089232000%2C%203089232000%2C%203089664000%2C%203090009600%2C%203090096000%2C%203090268800%2C%203090355200%2C%203090528000%2C%203090700800%2C%203090700800%2C%203090700800%2C%0A%20%20%203090787200%2C%203090873600%2C%203090960000%2C%203090960000%2C%203090960000%2C%203090960000%2C%203091132800%2C%203092083200%2C%203092256000%2C%203092342400%2C%203092428800%2C%0A%20%20%203092428800%2C%203092515200%2C%203092601600%5D%0A%20%20)%0A%20)%2C%0A%20New%20Column(%20%22Total%20Fatal%20Injuries%22%2C%0A%20%20Set%20Values(%0A%20%20%20%5B2%2C%200%2C%201%2C%201%2C%201%2C%202%2C%209%2C%202%2C%201%2C%201%2C%202%2C%200%2C%202%2C%201%2C%202%2C%204%2C%202%2C%202%2C%2010%2C%201%2C%202%2C%202%2C%202%2C%202%2C%202%2C%202%2C%201%2C%201%2C%200%2C%202%2C%201%2C%201%2C%202%2C%202%2C%202%2C%205%2C%202%2C%204%2C%202%2C%204%2C%204%2C%201%2C%203%2C%204%2C%203%2C%0A%20%20%201%2C%202%2C%201%2C%201%2C%201%2C%201%2C%202%2C%201%2C%201%2C%201%2C%202%2C%201%2C%204%2C%201%2C%201%2C%202%2C%202%2C%201%2C%201%2C%203%2C%2018%2C%201%2C%201%2C%201%2C%201%2C%202%2C%201%2C%201%2C%202%2C%202%2C%202%2C%202%2C%201%2C%203%2C%201%2C%202%2C%201%2C%201%2C%201%2C%201%2C%201%2C%201%2C%204%2C%202%2C%201%2C%201%2C%0A%20%20%202%2C%201%2C%201%2C%201%2C%202%2C%201%2C%201%2C%202%2C%201%2C%202%2C%201%2C%202%2C%202%2C%201%2C%201%2C%204%2C%201%2C%202%2C%201%2C%202%2C%201%2C%201%2C%202%2C%201%2C%203%2C%201%2C%202%2C%201%2C%202%2C%202%2C%201%2C%201%2C%201%2C%201%2C%201%2C%203%2C%203%2C%201%2C%204%2C%202%2C%202%2C%201%2C%203%2C%201%2C%201%2C%201%2C%0A%20%20%205%2C%201%2C%201%2C%203%2C%201%2C%202%2C%202%2C%203%2C%201%2C%201%2C%202%2C%201%2C%202%2C%201%2C%201%2C%201%2C%201%2C%201%2C%201%2C%201%2C%202%2C%201%2C%201%2C%202%2C%201%2C%201%2C%201%2C%201%2C%201%2C%201%2C%201%2C%201%2C%201%2C%201%2C%202%2C%202%2C%201%2C%201%2C%201%2C%202%2C%206%2C%201%2C%201%2C%201%2C%204%2C%201%2C%0A%20%20%201%2C%203%2C%201%2C%202%2C%202%2C%202%2C%202%2C%201%2C%201%2C%202%2C%203%2C%201%2C%202%2C%201%2C%201%2C%201%2C%201%2C%201%2C%204%2C%202%2C%201%2C%201%2C%201%2C%206%2C%206%2C%201%2C%202%2C%202%2C%202%2C%201%2C%201%2C%202%2C%202%2C%201%2C%201%2C%202%2C%201%2C%202%2C%201%2C%206%2C%203%2C%202%2C%201%2C%202%2C%201%2C%202%2C%0A%20%20%202%2C%202%2C%203%2C%203%2C%201%2C%201%2C%201%2C%201%2C%201%2C%202%2C%201%2C%201%2C%202%2C%202%2C%201%2C%201%2C%202%2C%201%2C%202%2C%202%2C%201%2C%201%2C%203%2C%201%2C%201%2C%203%2C%201%2C%201%2C%201%2C%203%2C%202%2C%201%2C%202%2C%201%2C%201%2C%2092%2C%2065%2C%2064%2C%2044%2C%201%2C%201%2C%201%2C%202%2C%201%2C%201%2C%0A%20%20%201%2C%203%2C%201%2C%201%2C%201%2C%203%2C%202%2C%201%2C%202%2C%201%2C%2010%2C%201%2C%201%2C%202%2C%202%2C%203%2C%203%2C%202%2C%201%2C%201%2C%201%2C%201%2C%202%2C%201%2C%202%2C%201%2C%201%2C%201%2C%202%2C%201%2C%202%2C%201%2C%203%2C%201%2C%201%2C%202%2C%201%2C%201%2C%201%2C%201%2C%201%2C%201%2C%202%2C%20265%2C%204%2C%0A%20%20%202%2C%201%2C%202%2C%201%2C%201%2C%201%2C%201%2C%205%2C%201%2C%201%2C%202%2C%202%2C%202%2C%202%2C%202%2C%204%2C%201%2C%202%2C%201%2C%204%2C%202%2C%201%2C%202%2C%202%2C%203%2C%201%2C%203%2C%204%2C%201%2C%202%2C%203%2C%202%2C%201%2C%201%2C%201%2C%201%5D%0A%20%20)%0A%20)%0A)%3B%0A%0Agb%20%3D%20Graph%20Builder(%0A%20Size(%20531%2C%20464%20)%2C%0A%20Show%20Control%20Panel(%200%20)%2C%0A%20Variables(%20X(%20%3AEvent%20Date%20)%2C%20Y(%20%3ATotal%20Fatal%20Injuries%20)%20)%2C%0A%20Elements(%20Points(%20X%2C%20Y%2C%20Legend(%205%20)%20)%20)%2C%0A%20SendToReport(%0A%20%20Dispatch(%0A%20%20%20%7B%7D%2C%0A%20%20%20%22Event%20Date%22%2C%0A%20%20%20ScaleBox%2C%0A%20%20%20%7BMin(%203059894016%20)%2C%20Max(%203093859584%20)%2C%20Interval(%20%22Month%22%20)%2C%20Inc(%201%20)%2C%0A%20%20%20Minor%20Ticks(%201%20)%2C%20Label%20Row(%20Label%20Orientation(%20%22Angled%22%20)%20)%7D%0A%20%20)%2C%0A%20%20Dispatch(%0A%20%20%20%7B%7D%2C%0A%20%20%20%22Total%20Fatal%20Injuries%22%2C%0A%20%20%20ScaleBox%2C%0A%20%20%20%7BFormat(%20%22Best%22%2C%2010%20)%2C%20Min(%20-0.147373575211003%20)%2C%0A%20%20%20Max(%2011.0505783676065%20)%2C%20Inc(%202.5%20)%2C%20Minor%20Ticks(%200%20)%7D%0A%20%20)%0A%20)%0A)%3B%0A%0Agbr%20%3D%20gb%20%26lt%3B%26lt%3B%20report%3B%0A%0ArefDate%20%3Dinformat(%3AReference%20Date%2C%20%22m%2Fd%2Fy%22)%3B%0A%0Agbr%5Baxisbox(1)%5D%20%26lt%3B%26lt%3B%20add%20ref%20line(%20refDate%20)%3B%3C%2FCODE%3E%3C%2FPRE%3E%3C%2FLINGO-BODY%3E
Choose Language Hide Translation Bar
SCWong
Level II

Reference line

Hi, I'm trying to edit a graph builder script to use my table variables instead to plot the reference lines in the graphs. it's a plot of pressure drop vs dates. I have no issues with the y axis reference line, but the x axis reference line is giving me issues. I tried using the Date MDY() function to incorporate my table variables but it's not working.
5 REPLIES 5
txnelson
Super User

Re: Reference line

  1. Is the X axis a numeric column?
  2. Is the X axis a JMP Date/Time column?
  3. Table variables are all character strings.  Are you trying to use it as a character, and the X axis is a numeric.  If so, you need to convert it to a numeric.
  4. Can you provide a sample data table, and a sample of the graph?
Jim
SCWong
Level II

Re: Reference line

Hi, x axis is a date/time column while y axis is a numeric continuous column. I plotted y vs x and saved the graph as a script. The reference lines were manually added inside e.g. y axis = 7, and x axis = 9/1/2023.
I then created a table variables called dp limit with a value of 7. I edited the graph script and replaced the reference line input to :dp limit, and it worked. So when I changed the dp limit variable, the graph reference line is changed. I can't do the same for the x axis reference line. It's a series of numbers in the script which I think is the date/time in seconds format. I'm not sure what I should input as a table variables for it to work. Hope this is clearer, thanks!
txnelson
Super User

Re: Reference line

The table variable is a character string, as I mentioned before.  The JMP DateTime values are the number of seconds since January 1, 1904.  So before you can use the table variable, it needs to be converted into a DateTime value.  In the JSL below, I choose to use an Informat() function to convert the value.

ref.PNG  

Names Default To Here( 1 );
dt = New Table( "Example",
	Add Rows( 355 ),
	New Table Variable( "Reference Date", "07/15/2001" ),
	New Column( "Event Date",
		Format( "m/d/y", 12 ),
		Input Format( "m/d/y" ),
		Set Values(
			[3061584000, 3061584000, 3061756800, 3061756800, 3062016000, 3062102400, 3062275200, 3062275200, 3062361600, 3062361600, 3062620800,
			3062707200, 3062880000, 3062966400, 3063052800, 3063139200, 3063139200, 3063139200, 3063398400, 3063484800, 3063830400, 3064089600,
			3064089600, 3064089600, 3064262400, 3064262400, 3064348800, 3064348800, 3064435200, 3064435200, 3064435200, 3064608000, 3064608000,
			3064694400, 3064780800, 3064867200, 3064867200, 3064953600, 3065040000, 3065040000, 3065040000, 3065126400, 3065299200, 3065299200,
			3065385600, 3065472000, 3065558400, 3065731200, 3065990400, 3066163200, 3066422400, 3066681600, 3066854400, 3066940800, 3066940800,
			3066940800, 3067027200, 3067200000, 3067804800, 3067891200, 3067891200, 3068064000, 3068236800, 3068409600, 3068582400, 3068668800,
			3068755200, 3068841600, 3068841600, 3068841600, 3068928000, 3069014400, 3069014400, 3069360000, 3069446400, 3069532800, 3069619200,
			3069619200, 3069705600, 3069705600, 3069705600, 3069878400, 3070051200, 3070051200, 3070310400, 3070310400, 3070396800, 3070483200,
			3070742400, 3070742400, 3070742400, 3070915200, 3071088000, 3071174400, 3071260800, 3071260800, 3071433600, 3071433600, 3071520000,
			3071865600, 3071952000, 3071952000, 3072384000, 3072384000, 3072470400, 3072470400, 3072556800, 3072556800, 3072556800, 3072643200,
			3072643200, 3072729600, 3072816000, 3072988800, 3073075200, 3073248000, 3073334400, 3073334400, 3073334400, 3073507200, 3073507200,
			3073680000, 3073680000, 3073766400, 3073766400, 3073766400, 3073852800, 3073852800, 3073852800, 3073939200, 3074284800, 3074284800,
			3074371200, 3074371200, 3074371200, 3074371200, 3074371200, 3074371200, 3074457600, 3074630400, 3074630400, 3074716800, 3074976000,
			3074976000, 3075062400, 3075235200, 3075321600, 3075321600, 3075408000, 3075494400, 3075494400, 3075494400, 3075494400, 3075494400,
			3075494400, 3075494400, 3075667200, 3075926400, 3075926400, 3076012800, 3076099200, 3076185600, 3076185600, 3076272000, 3076272000,
			3076272000, 3076876800, 3076876800, 3076963200, 3077222400, 3077308800, 3077308800, 3077568000, 3077568000, 3077654400, 3077654400,
			3077740800, 3077827200, 3077827200, 3077913600, 3077913600, 3078000000, 3078000000, 3078172800, 3078259200, 3078345600, 3078432000,
			3078518400, 3078518400, 3078518400, 3078518400, 3078518400, 3078604800, 3078604800, 3078691200, 3078777600, 3078777600, 3078777600,
			3078950400, 3078950400, 3078950400, 3079123200, 3079123200, 3079123200, 3079123200, 3079123200, 3079209600, 3079296000, 3079296000,
			3079382400, 3079382400, 3079468800, 3079468800, 3079641600, 3079728000, 3079728000, 3079814400, 3079814400, 3079814400, 3080160000,
			3080160000, 3080246400, 3080246400, 3080332800, 3080332800, 3080419200, 3080419200, 3080505600, 3080592000, 3080678400, 3080851200,
			3081024000, 3081024000, 3081024000, 3081196800, 3081283200, 3081283200, 3081369600, 3081369600, 3081369600, 3081456000, 3081456000,
			3081456000, 3081456000, 3081542400, 3081628800, 3081715200, 3081715200, 3081715200, 3081715200, 3081888000, 3081974400, 3082060800,
			3082060800, 3082060800, 3082492800, 3082492800, 3082492800, 3082492800, 3082752000, 3082838400, 3082838400, 3082838400, 3082924800,
			3083011200, 3083011200, 3083011200, 3083011200, 3083270400, 3083443200, 3083961600, 3084134400, 3084134400, 3084220800, 3084480000,
			3084566400, 3084566400, 3084739200, 3084912000, 3084912000, 3084998400, 3084998400, 3085084800, 3085257600, 3085516800, 3085516800,
			3085776000, 3086035200, 3086035200, 3086208000, 3086208000, 3086294400, 3086294400, 3086380800, 3086467200, 3086467200, 3086553600,
			3086553600, 3086553600, 3086553600, 3086640000, 3086985600, 3087072000, 3087244800, 3087244800, 3087331200, 3087590400, 3087590400,
			3087590400, 3087676800, 3087676800, 3087763200, 3087936000, 3088022400, 3088195200, 3088281600, 3088368000, 3088368000, 3088368000,
			3088454400, 3088540800, 3088627200, 3088713600, 3088713600, 3088886400, 3088972800, 3089145600, 3089145600, 3089232000, 3089232000,
			3089232000, 3089232000, 3089664000, 3090009600, 3090096000, 3090268800, 3090355200, 3090528000, 3090700800, 3090700800, 3090700800,
			3090787200, 3090873600, 3090960000, 3090960000, 3090960000, 3090960000, 3091132800, 3092083200, 3092256000, 3092342400, 3092428800,
			3092428800, 3092515200, 3092601600]
		)
	),
	New Column( "Total Fatal Injuries",
		Set Values(
			[2, 0, 1, 1, 1, 2, 9, 2, 1, 1, 2, 0, 2, 1, 2, 4, 2, 2, 10, 1, 2, 2, 2, 2, 2, 2, 1, 1, 0, 2, 1, 1, 2, 2, 2, 5, 2, 4, 2, 4, 4, 1, 3, 4, 3,
			1, 2, 1, 1, 1, 1, 2, 1, 1, 1, 2, 1, 4, 1, 1, 2, 2, 1, 1, 3, 18, 1, 1, 1, 1, 2, 1, 1, 2, 2, 2, 2, 1, 3, 1, 2, 1, 1, 1, 1, 1, 1, 4, 2, 1, 1,
			2, 1, 1, 1, 2, 1, 1, 2, 1, 2, 1, 2, 2, 1, 1, 4, 1, 2, 1, 2, 1, 1, 2, 1, 3, 1, 2, 1, 2, 2, 1, 1, 1, 1, 1, 3, 3, 1, 4, 2, 2, 1, 3, 1, 1, 1,
			5, 1, 1, 3, 1, 2, 2, 3, 1, 1, 2, 1, 2, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, 1, 2, 6, 1, 1, 1, 4, 1,
			1, 3, 1, 2, 2, 2, 2, 1, 1, 2, 3, 1, 2, 1, 1, 1, 1, 1, 4, 2, 1, 1, 1, 6, 6, 1, 2, 2, 2, 1, 1, 2, 2, 1, 1, 2, 1, 2, 1, 6, 3, 2, 1, 2, 1, 2,
			2, 2, 3, 3, 1, 1, 1, 1, 1, 2, 1, 1, 2, 2, 1, 1, 2, 1, 2, 2, 1, 1, 3, 1, 1, 3, 1, 1, 1, 3, 2, 1, 2, 1, 1, 92, 65, 64, 44, 1, 1, 1, 2, 1, 1,
			1, 3, 1, 1, 1, 3, 2, 1, 2, 1, 10, 1, 1, 2, 2, 3, 3, 2, 1, 1, 1, 1, 2, 1, 2, 1, 1, 1, 2, 1, 2, 1, 3, 1, 1, 2, 1, 1, 1, 1, 1, 1, 2, 265, 4,
			2, 1, 2, 1, 1, 1, 1, 5, 1, 1, 2, 2, 2, 2, 2, 4, 1, 2, 1, 4, 2, 1, 2, 2, 3, 1, 3, 4, 1, 2, 3, 2, 1, 1, 1, 1]
		)
	)
);

gb = Graph Builder(
	Size( 531, 464 ),
	Show Control Panel( 0 ),
	Variables( X( :Event Date ), Y( :Total Fatal Injuries ) ),
	Elements( Points( X, Y, Legend( 5 ) ) ),
	SendToReport(
		Dispatch(
			{},
			"Event Date",
			ScaleBox,
			{Min( 3059894016 ), Max( 3093859584 ), Interval( "Month" ), Inc( 1 ),
			Minor Ticks( 1 ), Label Row( Label Orientation( "Angled" ) )}
		),
		Dispatch(
			{},
			"Total Fatal Injuries",
			ScaleBox,
			{Format( "Best", 10 ), Min( -0.147373575211003 ),
			Max( 11.0505783676065 ), Inc( 2.5 ), Minor Ticks( 0 )}
		)
	)
);

gbr = gb << report;

refDate =informat(:Reference Date, "m/d/y");

gbr[axisbox(1)] << add ref line( refDate );
Jim
SCWong
Level II

Re: Reference line

Thanks that solved my problem, I just added Informat(:variable) into the ref line input and that solved the problem
Craige_Hales
Super User

Re: Reference line

Jim probably asked the right question, but here's an example Use Summary to Automatically Add Reference Lines to Graph Builder 

Craige

Recommended Articles