mirror of
https://github.com/nasa/trick.git
synced 2025-01-29 15:43:57 +00:00
Data products not plotting the last recorded data point #162
Needed to save the last point for gxplot as well.
This commit is contained in:
parent
3d604ff770
commit
3e442f4241
@ -141,6 +141,10 @@ GPViewCurveNode::GPViewCurveNode( Widget Toplevel,
|
||||
( x*atof(curve_x_scale_factor.c_str()) + atof(curve_x_bias.c_str()) ),
|
||||
( y*atof(curve_y_scale_factor.c_str()) + atof(curve_y_bias.c_str()) ) );
|
||||
}
|
||||
// Print the final point from getXY
|
||||
fprintf( curve_data_fp,"%e\t%e\n",
|
||||
( x*atof(curve_x_scale_factor.c_str()) + atof(curve_x_bias.c_str()) ),
|
||||
( y*atof(curve_y_scale_factor.c_str()) + atof(curve_y_bias.c_str()) ) );
|
||||
fclose(curve_data_fp);
|
||||
|
||||
if ( Curve_number == 0 ) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user