So löschen Sie ein grafisches Skript in einem Plot<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
Ich füge einer Handlung mit dem Skript „Grafik hinzufügen“ eine Mausefalle hinzu. Wie lösche ich die Mausefalle? Danke
Betreff: So löschen Sie ein Grafikskript in einem PlotEs klappt!. Danke, WK
Betreff: So löschen Sie ein Grafikskript in einem PlotJa, Remove Graphics Script ist neu für JMP 10.Für frühere Versionen können Sie eine benutzerdefinierte Funktion erstellen, die das Grafikskript enthält, dann die Funktion neu initialisieren und die Reshow-Nachricht an die FrameBox senden, um den Bildschirm zu aktualisieren.Hier ist ein Beispiel:
dt = Open( "$SAMPLE_DATA\Big Class.jmp" );
_dist = Distribution(
Stack( 1 ),
Continuous Distribution(
Column( :height ),
Quantiles( 0 ),
Moments( 0 ),
Horizontal Layout( 1 ),
Vertical( 0 )
)
);
_rdist = _dist << Report;
_histframe = _rdist["height"][framebox( 2 )];
curve = Function( {}, // make a function holding the old drawing code
mu = 62.55;
sigma = 4.24;
Y Function( Sqrt( 2 * Pi() ) * Normal Density( (x - mu) / sigma ) * 0.095 + 0, x );
);
_histframe << Add Graphics Script(
Description( "NormalPDF" ),
curve() // call the function holding the old code
);
/* how do I remove the graphics script?*/
Wait( 2 ); //For demonstration purposes only
curve = Function( {}, {} );
_histframe << reshow;
Wait( 2 ); //For demonstration purposes only
// put the script back
curve = Function( {}, // make a function holding the old drawing code
mu = 62.55;
sigma = 4.24;
Y Function( Sqrt( 2 * Pi() ) * Normal Density( (x - mu) / sigma ) * 0.095 + 0, x );
);
_histframe << reshow;
Ich hoffe das hilft!
Betreff: So löschen Sie ein Grafikskript in einem PlotIch verwende JMP9.
Betreff: So löschen Sie ein Grafikskript in einem PlotDas Beispielskript funktioniert bei mir in JMP 10 (Mac). Aber ich habe es jetzt in JMP 9.0.3 versucht und es funktioniert nicht, dh die letzte Zeile hat keine Auswirkung. Scheint, als ob die Meldung „Grafiken entfernen script()“ neu ist.
Welche Version verwenden Sie?
Betreff: So löschen Sie ein Grafikskript in einem PlotHallo MS,
es funktioniert nicht.
Betreff: So löschen Sie ein Grafikskript in einem PlotDu kannst senden << Grafikskript(e) entfernen in die entsprechende Anzeigebox, wobei n die Reihenfolge des Skripts ist (ich denke, das zuletzt hinzugefügte Skript erhält n = 1).
Ein Beispiel:
jetzt = Neues Fenster ( "Beispiel" ,
exx = 20 ,
exy = 50 ;
Diagrammfeld ( Rahmengröße ( 200 , 200 ) , Kreis ( { 0 , 0 } , Quadrat ( exx * exx + exy * exy ) ) ) ;
) ;
fb = jetzt [ Framebox ( 1 )] ;
fb << Grafikskript hinzufügen (
Mausefalle (
exx = X ;
exy = j ;
)
) ;
fb << Grafikskript entfernen ( 1 ) ;