Am Dienstag, den 11.06.2013, 20:12 +0200 schrieb Christian Netzel:
Zitat:
Hallo,
ich habe mal wieder eine Frage zu Midas und zwar zu PLOT/DELTA
Wirklich rausgekriegt hab ich es auch nicht. Aber offenbar stellen die
grünen Kästchen die identifizierten Wellenlängen dar. Warum die kästchen
und die Kreuzchen unterschiedliche y-Werte haben erschließt sich mir
leider nicht.
Das Folgende ist ein Auszug aus lnplot.c
--------------------------------------------------------------------
/* Plot the :IDENT related points */
if (n1 > 0) {
AG_SSET( GREEN_COLOR );
AG_GPLM( x1, y1, n1, BOX_MARKER );
AG_VUPD();
AG_SSET( DEF_COLOR );
}
/* Plot the :WAVEC related points */
AG_SSET( BLUE_COLOR );
AG_GPLM( x2, y2, n2, X_MARKER );
AG_VUPD();
AG_SSET( DEF_COLOR );
/* Plot the deleted points */
if ( ndel > 0 ) {
AG_SSET( RED_COLOR );
AG_GPLM( xdel, ydel, ndel, X_MARKER );
AG_VUPD();
AG_SSET( DEF_COLOR );
}
/* Plot horizontal line at y = 0 */
AG_SSET( DASH_LINE );
x1[0] = xmin; x1[1] = xmax;
y1[0] = y1[1] = 0.0;
AG_GPLL( x1, y1, 2 );
AG_VUPD();
AG_SSET( SOLID_LINE );
------------------------------------------------------
günter