From: ana Date: Wed, 28 Dec 2011 13:27:56 +0000 (+0000) Subject: Implementation of the "0021387: [CEA 511] Plot2d Normalize Plot2d view" issue. X-Git-Tag: pxsxl1~20 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=68de64c0cb3722aee858ac36f7635c8f2dfe5c55;p=modules%2Fgui.git Implementation of the "0021387: [CEA 511] Plot2d Normalize Plot2d view" issue. --- diff --git a/src/Plot2d/resources/Plot2d_images.ts b/src/Plot2d/resources/Plot2d_images.ts index 3c39ca19d..5841ec8a0 100644 --- a/src/Plot2d/resources/Plot2d_images.ts +++ b/src/Plot2d/resources/Plot2d_images.ts @@ -51,6 +51,22 @@ ICON_PLOT2D_MODE_LOGARITHMIC_VER plot2d_log_y.png + + ICON_PLOT2D_NORMALIZE_MODE_LMIN + plot2d_lmin_normalization.png + + + ICON_PLOT2D_NORMALIZE_MODE_LMAX + plot2d_lmax_normalization.png + + + ICON_PLOT2D_NORMALIZE_MODE_RMIN + plot2d_rmin_normalization.png + + + ICON_PLOT2D_NORMALIZE_MODE_RMAX + plot2d_rmax_normalization.png + ICON_PLOT2D_SETTINGS plot2d_settings.png diff --git a/src/Plot2d/resources/Plot2d_msg_en.ts b/src/Plot2d/resources/Plot2d_msg_en.ts index 6b16abd6f..d312ff17d 100644 --- a/src/Plot2d/resources/Plot2d_msg_en.ts +++ b/src/Plot2d/resources/Plot2d_msg_en.ts @@ -27,6 +27,26 @@ PLOT2D_SCALE_MODE_HOR Horizontal axis: + + PLOT2D_NORMALIZE_TLT + Normalization + + + PLOT2D_NORMALIZE_MODE_MIN + Normalize to minimum + + + PLOT2D_NORMALIZE_MODE_MAX + Normalize to maximum + + + PLOT2D_NORMALIZE_LEFT_AXIS + Left Y Axis: + + + PLOT2D_NORMALIZE_RIGHT_AXIS + Right Y Axis: + PLOT2D_SCALE_MODE_VER Vertical axis: @@ -71,6 +91,10 @@ CURVE_TYPE_POPUP Curve type + + NORMALIZATION_TYPE_POPUP + Normalization + TOT_PLOT2D_MODE_LINEAR_VER Vertical axis: linear @@ -207,6 +231,22 @@ TOT_PLOT2D_ANALITIC_CURVES Analytic curves + + TOT_PLOT2D_NORMALIZE_MODE_LMAX + Left Y Axis: Normalize to maximum + + + TOT_PLOT2D_NORMALIZE_MODE_LMIN + Left Y Axis: Normalize to global minimum + + + TOT_PLOT2D_NORMALIZE_MODE_RMAX + Right Y Axis: Normalize to maximum + + + TOT_PLOT2D_NORMALIZE_MODE_RMIN + Right Y Axis: Normalize to global minimum + PLOT2D_CURVE_TYPE_LINES Lines @@ -357,6 +397,22 @@ Logarithmic scale for ordinate axis is not allowed. PRP_PLOT2D_ANALITIC_CURVES Setups analytic curves properties + + PRP_PLOT2D_NORMALIZE_MODE_LMAX + Switches view to maximum normalization mode by left Y axis + + + PRP_PLOT2D_NORMALIZE_MODE_LMIN + Switches view to minimum normalization mode by left Y axis + + + PRP_PLOT2D_NORMALIZE_MODE_RMAX + Switches view to maximum normalization mode by right Y axis + + + PRP_PLOT2D_NORMALIZE_MODE_RMIN + Switches view to minimum normalization mode by right Y axis + PRP_PLOT2D_SETTINGS Setups view properties @@ -397,6 +453,22 @@ Logarithmic scale for ordinate axis is not allowed. MEN_PLOT2D_MODE_LOGARITHMIC_VER Vertical Axis: Logarithmic + + MEN_PLOT2D_NORMALIZE_MODE_LMIN + Left Y Axis: Minimum + + + MEN_PLOT2D_NORMALIZE_MODE_LMAX + Left Y Axis: Maximum + + + MEN_PLOT2D_NORMALIZE_MODE_RMIN + Right Y Axis: Minimum + + + MEN_PLOT2D_NORMALIZE_MODE_RMAX + Right Y Axis: Maximum + PRP_PLOT2D_FITDATA Fits view to the given data range diff --git a/src/Plot2d/resources/plot2d_lmax_normalization.png b/src/Plot2d/resources/plot2d_lmax_normalization.png new file mode 100755 index 000000000..0dfe5ee13 Binary files /dev/null and b/src/Plot2d/resources/plot2d_lmax_normalization.png differ diff --git a/src/Plot2d/resources/plot2d_lmin_normalization.png b/src/Plot2d/resources/plot2d_lmin_normalization.png new file mode 100755 index 000000000..939fbd743 Binary files /dev/null and b/src/Plot2d/resources/plot2d_lmin_normalization.png differ diff --git a/src/Plot2d/resources/plot2d_rmax_normalization.png b/src/Plot2d/resources/plot2d_rmax_normalization.png new file mode 100755 index 000000000..7cdbdcc7b Binary files /dev/null and b/src/Plot2d/resources/plot2d_rmax_normalization.png differ diff --git a/src/Plot2d/resources/plot2d_rmin_normalization.png b/src/Plot2d/resources/plot2d_rmin_normalization.png new file mode 100755 index 000000000..2d7d174ce Binary files /dev/null and b/src/Plot2d/resources/plot2d_rmin_normalization.png differ