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-52050%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3EWie%20lege%20ich%20Achsenbeschriftungen%20f%C3%BCr%20das%20Diagrammfeld%20in%20der%20JMP-Anwendung%20fest%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-52050%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3E%3CP%3EHallo%20zusammen%2C%3C%2FP%3E%0A%3CP%3E%20%3C%2FP%3E%0A%3CP%3EIch%20verwende%20die%20JMP-Anwendung%20zum%20Zeichnen%20eines%20Testergebnisses.%20Ich%20verwende%20die%20folgenden%20Skriptzeilen%2C%20um%20Werte%20f%C3%BCr%20das%20Diagramm%20festzulegen.%3C%2FP%3E%0A%3CP%3E%20%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3EResults1%20%26lt%3B%26lt%3B%20Set%20Title%20(%22WFM%22)%3B%0AResult%20Graph%20%26lt%3B%26lt%3B%20Set%20X%20Axis%20(%7BMin(0)%2C%20Max(Res_x_max)%2C%20Format(%22Best%22%2C%209)%7D)%3B%0AResult%20Graph%20%26lt%3B%26lt%3B%20Set%20Y%20Axis%20(%7BMin(Res_y_max)%2C%20Max(Res_y_min)%2C%20Format(%22Best%22%2C%209)%7D)%3B%0AResult%20Graph%20%26lt%3B%26lt%3B%20Set%20Graphics%20Script%20(Marker%20(Res_x%2CRes_y))%3B%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3EMein%20Problem%20besteht%20darin%2C%20dass%20ich%20die%20X-%20und%20Y-Achsenbeschriftungen%20jedes%20Mal%20aktualisieren%20m%C3%B6chte%2C%20wenn%20ich%20das%20Modul%20starte.%20Ich%20wei%C3%9F%20nicht%2C%20wie%20man%20Achsenbeschriftungen%20und%20deren%20Ausrichtung%20festlegt.%20Bitte%20helfen%20Sie%20mir%20dabei%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-52050%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3E%3CLINGO-LABEL%3EMassenanpassung%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EErgebnisse%20teilen%20und%20kommunizieren%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-52101%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3EBetreff%3A%20Wie%20werden%20Achsenbeschriftungen%20f%C3%BCr%20das%20Diagrammfeld%20in%20der%20JMP-Anwendung%20festgelegt%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-52101%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3EHi%3CA%20href%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F11024%22%20target%3D%22_blank%22%3E%20%40Saravana%3C%2FA%3E%20%2C%3C%2FP%3E%3CP%3EIst%20das%20Diagramm%20eine%20benutzerdefinierte%20Graphbox%3FIch%20vermute%2C%20Sie%20m%C3%B6chten%20so%20etwas%20wie%20den%20Namen%20einer%20Spalte%20verwenden%2C%20die%20der%20Benutzer%20im%20Dialogfeld%20als%20Achsenbeschriftung%20angibt.Sie%20k%C3%B6nnen%20die%20Achsennamen%20folgenderma%C3%9Fen%20festlegen%3A%3C%2FP%3E%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3EX_label%20%3D%20%22X%20Variable%22%3B%0AGB%20%26lt%3B%26lt%3B%20Set%20X%20Name(X_label)%3B%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3EIch%20bin%20mir%20sicher%2C%20dass%20es%20eine%20M%C3%B6glichkeit%20gibt%2C%20den%20Beschriftungstext%20mit%20Rotate%20Text%20(%22Right%22%20%7C%20%22Left%22%20%7C%20%22Horizontal%22)%20irgendwie%20auszurichten%2C%20aber%20ich%20konnte%20dazu%20nichts%20aus%20dem%20Scripting%20Index%20abrufen.Ich%20habe%20einiges%20ausprobiert%2C%20aber%20nichts%20hat%20funktioniert.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Choose Language Hide Translation Bar
Saravana
Level II

How to set Axis Labels for Graph box in JMP application?

Hi all,

 

I am using JMP application for plotting a test result. I am using the below script lines to set values to the graph,

 

Results1 << Set Title ("WFM");
Result Graph << Set X Axis ({Min(0), Max(Res_x_max), Format("Best", 9)});
Result Graph << Set Y Axis ({Min(Res_y_max), Max(Res_y_min), Format("Best", 9)});
Result Graph << Set Graphics Script (Marker (Res_x,Res_y));

My problem is I want to update the X and Y axis labels whenever I launch the the module. I don't know how to set axis labels and its orientation. Please help me with this

1 REPLY 1
cwillden
Super User (Alumni)

Re: How to set Axis Labels for Graph box in JMP application?

Hi @Saravana,

Is the graph a custom graphbox?  I'm guessing you want to do something like use the name of a column that the user specifies in the dialog as an axis label.  You can set the axis names using something like this:

X_label = "X Variable";
GB << Set X Name(X_label);

I'm sure there's a way to orient the label text using Rotate Text("Right"|"Left"|"Horizontal") somehow, but I wasn't able to get anything from the Scripting Index on that.  I tried a few things, but nothing worked.

-- Cameron Willden

Recommended Articles