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
%3CLINGO-SUB%20id%3D%22lingo-sub-39795%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3EX-Achsen-%C3%84nderung%20im%20Graph%20Builder%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-39795%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3EVerehrte%20G%C3%A4ste%2C%3C%2FP%3E%3CP%3EMit%20dem%20Graph%20Builder%20verwende%20ich%20%E2%80%9EGruppe%20X%E2%80%9C%2C%20um%20zwei%20Diagramme%20nebeneinander%20zu%20erstellen%2C%20wie%20im%20JPG-Anhang%20zu%20sehen%20ist.%20Bei%20den%20Diagrammen%20handelt%20es%20sich%20im%20Wesentlichen%20um%20Diagramme%20%C3%BCber%20die%20Zeit%2C%20wobei%20ich%20die%20Spalte%20%E2%80%9EStichprobe%E2%80%9C%20als%20Grundlage%20f%C3%BCr%20die%20x-Achse%20verwende.%3CBR%20%2F%3E%20-%20Produkt%20Eins%20hat%20133%20Werte%3CBR%20%2F%3E%20-%20Produkt%20zwei%20hat%20234%20Werte%3CBR%20%2F%3E%20Bei%20der%20Aufteilung%20der%20Diagramme%20verwenden%20beide%20eine%20x-Achse%2C%20die%20auf%20der%20Anzahl%20der%20Werte%20in%20Produkt%20Zwei%20basiert.%3CBR%20%2F%3E%20Ich%20m%C3%B6chte%20diese%20Standardeinstellung%20%C3%BCberschreiben%20und%20beispielsweise%20Folgendes%20%C3%A4ndern%3A%3CBR%20%2F%3E%20-%20Produkt%20Eins%20basierend%20auf%201%20bis%20140%20Werten%3CBR%20%2F%3E%20-%20Produkt%20Zwei%20bleibt%20unver%C3%A4ndert%3CBR%20%2F%3E%20K%C3%B6nnte%20jemand%20einen%20Rat%20geben%2C%20wie%20man%20diese%20Manipulation%20der%20x-Achse%20erreichen%20kann%3F%3C%2FP%3E%3CP%3EBei%20Produkt%20Eins%20sieht%20es%20so%20aus%2C%20als%20w%C3%BCrde%20ihm%20etwas%20fehlen%2C%20da%20zwischen%20den%20Werten%20134%20und%20240%20ein%20gro%C3%9Fer%20Raum%20mit%20%E2%80%9ENichts%E2%80%9C%20liegt.%3C%2FP%3E%3CP%3EVielen%20Dank%20im%20Voraus%20f%C3%BCr%20alle%20Tipps%2FAnleitungen!%3CBR%20%2F%3E%20Scott.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-46462%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3EBetreff%3A%20%C3%84nderung%20der%20X-Achse%20im%20Graph%20Builder%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-46462%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3EDanke%2C%20Jim.%3C%2FP%3E%3CP%3EWie%20viele%20Dinge%20im%20Leben.%20Wenn%20man%20wei%C3%9F%2C%20wie%20einfach%20es%20ist.%20Es%20erfordert%20ein%20H%C3%A4ndchen%2C%20die%20x-Achse%20richtig%20zu%20treffen%2C%20um%20die%20Partitionen%20so%20zu%20erhalten%2C%20wie%20ich%20sie%20ben%C3%B6tige.%3C%2FP%3E%3CP%3ESehr%20gesch%C3%A4tzt!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-46459%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3EBetreff%3A%20%C3%84nderung%20der%20X-Achse%20im%20Graph%20Builder%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-46459%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3EIch%20gehe%20davon%20aus%2C%20dass%20Sie%20das%20wollen%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22five.PNG%22%20style%3D%22width%3A%20938px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22five.PNG%22%20style%3D%22width%3A%20938px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22five.PNG%22%20style%3D%22width%3A%20938px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F8152i2304B3E9AD182E3E%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22five.PNG%22%20alt%3D%22five.PNG%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EEs%20wurde%20unter%20Verwendung%20Ihrer%20Datentabelle%20ohne%20%C3%84nderungen%20erstellt.Sie%20m%C3%BCssen%20lediglich%20jede%20Spalte%20einzeln%20auf%20die%20X-Achse%20ziehen.Dokumentation%20zu%20Graph%20Builder%20ist%20verf%C3%BCgbar%20unter%3A%3C%2FP%3E%0A%3CP%3EHilfe%3D%3D%26gt%3BB%C3%BCcher%3D%3D%26gt%3BEssential%20Graphics%3C%2FP%3E%0A%3CP%3EGraph%20Builder%20ist%20Kapitel%203%2C%20und%20die%20Einzelheiten%20zum%20Erstellen%20der%20mehreren%20Achsen%20finden%20Sie%20auf%20Seite%2042.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-46447%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3EBetreff%3A%20%C3%84nderung%20der%20X-Achse%20im%20Graph%20Builder%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-46447%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3ESie%20haben%20mir%20vor%20einigen%20Wochen%20freundlicherweise%20bei%20der%20X-Achsen-%C3%84nderung%20im%20Graph%20Builder%20geholfen.%3C%2FP%3E%3CP%3EIch%20habe%20wieder%20das%20gleiche%20Problem%2C%20aber%20dieses%20Mal%20mit%20f%C3%BCnf%20%E2%80%9EBedingungen%E2%80%9C%2C%20also%20einer%20Aufteilung%20des%20Diagramms%20in%20f%C3%BCnf%20Partitionen.%20(Das%20letzte%20Mal%20waren%20es%20zwei.)%3C%2FP%3E%3CP%3EWie%20w%C3%BCrden%20Sie%20die%20x-Achsen%20%C3%A4ndern%2C%20um%20jeden%20Fall%20gut%20darzustellen%20(z.%20B.%20%E2%80%9EONE%E2%80%9C%20besteht%20aus%2016%20Werten%2C%20%E2%80%9EMIDDLE%E2%80%9C%20aus%2087%20Werten)%2C%20was%20bedeutet%2C%20dass%20die%20L%C3%A4nge%20jeder%20x-Achse%20an%20die%20Anzahl%20der%20darzustellenden%20Werte%20angepasst%20wird%3F%20jeder%20Fall%3F%3C%2FP%3E%3CP%3EIst%20das%20ohne%20Scripting%20m%C3%B6glich%3F%20Wenn%20nicht%2C%20k%C3%B6nnten%20Sie%20bei%20der%20Skripterstellung%20f%C3%BCr%20diese%20Aufgabe%20helfen%3F%3C%2FP%3E%3CP%3EIm%20Anhang%20finden%20Sie%20die%20Datei%2C%20mit%20der%20ich%20arbeite.%3C%2FP%3E%3CP%3EDanke%2C%20Scott.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-39801%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3EBetreff%3A%20%C3%84nderung%20der%20X-Achse%20im%20Graph%20Builder%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-39801%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3EDanke%20sch%C3%B6n!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-39800%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3EBetreff%3A%20%C3%84nderung%20der%20X-Achse%20im%20Graph%20Builder%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-39800%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3EWeder%20die%20X-Gruppierung%20noch%20die%20Y-Gruppierung%20erlauben%20unterschiedliche%20Achsen.Daher%20muss%20man%20zwei%20verschiedene%20Diagramme%20definieren%2C%20um%20das%20zu%20erreichen%2C%20was%20man%20will.Dazu%20habe%20ich%20die%20Tabelle%20ge%C3%A4ndert%20und%20die%20Spalte%20%E2%80%9EBeispiel%E2%80%9C%20dupliziert.Anschlie%C3%9Fend%20habe%20ich%20alle%20Beispieldaten%20f%C3%BCr%20Produkt%20Zwei%20Zeilen%20in%20der%20ersten%20Beispielspalte%20gel%C3%B6scht%20und%20dann%20die%20Beispieldaten%20f%C3%BCr%20Produkt%20Eins%20in%20der%20zweiten%20Beispieldatenspalte%20gel%C3%B6scht.Anschlie%C3%9Fend%20habe%20ich%20die%20Namen%20der%20Spalten%20in%20%E2%80%9EProdukt%20Eins%E2%80%9C%20und%20%E2%80%9EProdukt%20Zwei%E2%80%9C%20ge%C3%A4ndert%3C%2FP%3E%0A%3CP%3EHier%20sind%20die%20Ergebnisse.......Ich%20habe%20die%20Datentabelle%20angeh%C3%A4ngt%2C%20die%20ein%20eingebettetes%20Skript%20des%20Graph%20Builder%20enth%C3%A4lt%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%222%20graphs.PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%222%20graphs.PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%222%20graphs.PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F6308i794ABA3A38996FEC%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%222%20graphs.PNG%22%20alt%3D%222%20graphs.PNG%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Choose Language Hide Translation Bar
scottahindle
Level IV

X-axis modification in Graph Builder

Dear all,

Using graph builder I use "Group X" to create two graphs side by side as seen in attachment jpg. The graphs are essentially plots over time where I use the column "Sample" as the basis for the x-axis.
- Product One has 133 values
- Product Two has 234 values
In dividing the graphs, both have an x-axis based on the number of values in Product Two.
I would like to override this default and for change to, for example:
- Product One based on 1 to 140 values
- Product Two remains as is
Could anybody advise on how to do achieve this manipulation of the x-axis?

As it Product One looks as though it is missing something bcause there is a big space of "nothing" between values 134 and 240.

Thanks in advance for any tips/guidance!
Scott.

1 ACCEPTED SOLUTION

Accepted Solutions
txnelson
Super User

Re: X-axis modification in Graph Builder

Neither the X Grouuping or the Y Grouping will allow the axes to be different.  Therefore, one has to define 2 different graphs, to accomplish what you want.  To do this, I changed the table, and duplicated the Sample  column.  I then deleted all of the sample data for product Two rows in the the first Sample column, and then deleted the sample data for the product One rows in the second sample data column.  I then changed the names of the columns to Product One and Product Two

Here are the results........I have attached the data table, which has an embedded script of the Graph Builder

2 graphs.PNG

Jim

View solution in original post

5 REPLIES 5
txnelson
Super User

Re: X-axis modification in Graph Builder

Neither the X Grouuping or the Y Grouping will allow the axes to be different.  Therefore, one has to define 2 different graphs, to accomplish what you want.  To do this, I changed the table, and duplicated the Sample  column.  I then deleted all of the sample data for product Two rows in the the first Sample column, and then deleted the sample data for the product One rows in the second sample data column.  I then changed the names of the columns to Product One and Product Two

Here are the results........I have attached the data table, which has an embedded script of the Graph Builder

2 graphs.PNG

Jim
scottahindle
Level IV

Re: X-axis modification in Graph Builder

Thank you!

scottahindle
Level IV

Re: X-axis modification in Graph Builder

You kindly helped me some weeks back on x-axis modification in Graph Builder.

I have the same problem again but this time with five "conditions" so a division of the chart into five partitions. (Last time it was two.)

How would you modify the x-axes to well represent each case (e.g. "ONE" is composed of 16 values, "MIDDLE" 87 values) meaning the length of the each x-axis is adapted to the number of values to be plotted in each case?

Is it possible without scripting? If not, could you help out with the scripting for this task?

See attached for the file I am working with.

Thank you, Scott.

txnelson
Super User

Re: X-axis modification in Graph Builder

I assume this is what you want

five.PNG

It was created using your data table with no changes.  You just need to drag each column separatly to the X axis.  Documentation on Graph Builder is available at:

     Help==>Books==>Essential Graphics

Graph Builder is Chapter 3, and the specifics for how to create the multiple axes is on page 42.

Jim
scottahindle
Level IV

Re: X-axis modification in Graph Builder

Thanks, Jim.

Like many things in life. When you know how it is really easy. It requires a knack to hit the x-axis in the right way to get the partitions as I need.

Much appreciated!