162 Curve * this_curve = pid -> analysis[rid] -> curves[cid];
163 this_curve -> window = NULL;
164 this_curve ->
plot = NULL;
165 this_curve -> wsize[0] = 800;
166 this_curve -> wsize[1] = 600;
169 this_curve -> title_font = g_strdup_printf (
"Sans Bold 12");
170 this_curve -> title_pos[0] = 0.4;
171 this_curve -> title_pos[1] = 0.05;
172 this_curve -> title_color.red = 0.0;
173 this_curve -> title_color.blue = 0.0;
174 this_curve -> title_color.green = 0.0;
175 this_curve -> title_color.alpha = 1.0;
176 this_curve -> format = 0;
179 if (this_curve -> data[k] != NULL)
181 g_free (this_curve -> data[k]);
182 this_curve -> data[k] = NULL;
185 this_curve -> show_grid[k] = FALSE;
186 this_curve -> show_axis[k] = TRUE;
187 this_curve -> labels_digit[k] = 1;
188 this_curve -> ticks_io[k] = 0;
189 this_curve -> labels_angle[k] = 0.0;
190 this_curve -> labels_font[k] = g_strdup_printf (
"Sans 12");
191 this_curve -> mint_size[k] = 5;
192 this_curve -> majt_size[k] = 10;
193 this_curve -> axis_defaut_title[k] = TRUE;
194 this_curve -> axis_title_font[k] = g_strdup_printf (
"Sans 12");
196 if (this_curve -> err != NULL)
198 g_free (this_curve -> err);
199 this_curve -> err = NULL;
201 this_curve -> labels_shift_x[0] = 10;
202 this_curve -> labels_shift_y[0] = 20;
203 this_curve -> labels_shift_x[1] = 50;
204 this_curve -> labels_shift_y[1] = 10;
205 this_curve -> axis_title_x[0] = -20;
206 this_curve -> axis_title_y[0] = 45;
207 this_curve -> axis_title_x[1] =
MARGX - 10;
208 this_curve -> axis_title_y[1] = -50;
209 this_curve -> frame_type = 2;
210 this_curve -> frame_dash = 1;
211 this_curve -> frame_thickness = 1.0;
212 this_curve -> frame_color.red = 0.0;
213 this_curve -> frame_color.green = 0.0;
214 this_curve -> frame_color.blue = 0.0;
215 this_curve -> frame_color.alpha = 1.0;
216 this_curve -> frame_pos[0][0] = 100.0/840.0;
217 this_curve -> frame_pos[0][1] = 1.0;
218 this_curve -> frame_pos[1][0] = 530.0/600.0;
219 this_curve -> frame_pos[1][1] = 0.0;
220 this_curve -> legend_font = g_strdup_printf (
"Sans 10");
223 this_curve -> legend_color.red = 0.0;
224 this_curve -> legend_color.blue = 0.0;
225 this_curve -> legend_color.green = 0.0;
226 this_curve -> legend_color.alpha = 1.0;
227 this_curve -> legend_pos[0] =
LEGX;
228 this_curve -> legend_pos[1] =
LEGY;
229 this_curve -> show_legend_box = FALSE;
230 this_curve -> legend_box_dash = 1;
231 this_curve -> legend_box_color.red = 0.0;
232 this_curve -> legend_box_color.green = 0.0;
233 this_curve -> legend_box_color.blue = 0.0;
234 this_curve -> legend_box_color.alpha = 1.0;
235 this_curve -> legend_box_thickness = 1.0;
236 this_curve -> backcolor.red = 1.0;
237 this_curve -> backcolor.green = 1.0;
238 this_curve -> backcolor.blue = 1.0;
239 this_curve -> backcolor.alpha = 1.0;
241 this_curve -> extrac = NULL;
242 this_curve -> extrac = g_malloc0(
sizeof*this_curve -> extrac);
243 this_curve -> extrac -> extras = 0;
244 if (this_curve -> cfile != NULL)
246 g_free (this_curve -> cfile);