]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Implementation of the "0021387: [CEA 511] Plot2d Normalize Plot2d view" issue.
authorana <ana@opencascade.com>
Wed, 28 Dec 2011 13:27:56 +0000 (13:27 +0000)
committerana <ana@opencascade.com>
Wed, 28 Dec 2011 13:27:56 +0000 (13:27 +0000)
src/Plot2d/resources/Plot2d_images.ts
src/Plot2d/resources/Plot2d_msg_en.ts
src/Plot2d/resources/plot2d_lmax_normalization.png [new file with mode: 0755]
src/Plot2d/resources/plot2d_lmin_normalization.png [new file with mode: 0755]
src/Plot2d/resources/plot2d_rmax_normalization.png [new file with mode: 0755]
src/Plot2d/resources/plot2d_rmin_normalization.png [new file with mode: 0755]

index 3c39ca19d32ce333e7bf7b4beb94c47d10eb86c2..5841ec8a00c9904db4bc8489e700213e2d22dcb1 100644 (file)
         <source>ICON_PLOT2D_MODE_LOGARITHMIC_VER</source>
         <translation>plot2d_log_y.png</translation>
     </message>
+    <message>
+        <source>ICON_PLOT2D_NORMALIZE_MODE_LMIN</source>
+        <translation>plot2d_lmin_normalization.png</translation>
+    </message>
+    <message>
+        <source>ICON_PLOT2D_NORMALIZE_MODE_LMAX</source>
+        <translation>plot2d_lmax_normalization.png</translation>
+    </message>
+    <message>
+        <source>ICON_PLOT2D_NORMALIZE_MODE_RMIN</source>
+        <translation>plot2d_rmin_normalization.png</translation>
+    </message>
+    <message>
+        <source>ICON_PLOT2D_NORMALIZE_MODE_RMAX</source>
+        <translation>plot2d_rmax_normalization.png</translation>
+    </message>
     <message>
         <source>ICON_PLOT2D_SETTINGS</source>
         <translation>plot2d_settings.png</translation>
index 6b16abd6f4516de3b0f4a7a728e906dbe92c74b7..d312ff17d40491f4e1f9716ea7a7d090500f935d 100644 (file)
         <source>PLOT2D_SCALE_MODE_HOR</source>
         <translation>Horizontal axis:</translation>
     </message>
+    <message>
+        <source>PLOT2D_NORMALIZE_TLT</source>
+        <translation>Normalization</translation>
+    </message>
+    <message>
+        <source>PLOT2D_NORMALIZE_MODE_MIN</source>
+        <translation>Normalize to minimum</translation>
+    </message>
+    <message>
+        <source>PLOT2D_NORMALIZE_MODE_MAX</source>
+        <translation>Normalize to maximum</translation>
+    </message>
+    <message>
+        <source>PLOT2D_NORMALIZE_LEFT_AXIS</source>
+        <translation>Left Y Axis: </translation>
+    </message>
+    <message>
+        <source>PLOT2D_NORMALIZE_RIGHT_AXIS</source>
+        <translation>Right Y Axis: </translation>
+    </message>
     <message>
         <source>PLOT2D_SCALE_MODE_VER</source>
         <translation>Vertical axis:</translation>
         <source>CURVE_TYPE_POPUP</source>
         <translation>Curve type</translation>
     </message>
+    <message>
+        <source>NORMALIZATION_TYPE_POPUP</source>
+        <translation>Normalization</translation>
+    </message>
     <message>
         <source>TOT_PLOT2D_MODE_LINEAR_VER</source>
         <translation>Vertical axis: linear</translation>
         <source>TOT_PLOT2D_ANALITIC_CURVES</source>
         <translation>Analytic curves</translation>
     </message>    
+    <message>
+        <source>TOT_PLOT2D_NORMALIZE_MODE_LMAX</source>
+        <translation>Left Y Axis: Normalize to maximum</translation>
+    </message>    
+    <message>
+        <source>TOT_PLOT2D_NORMALIZE_MODE_LMIN</source>
+        <translation>Left Y Axis: Normalize to global minimum</translation>
+    </message>    
+    <message>
+        <source>TOT_PLOT2D_NORMALIZE_MODE_RMAX</source>
+        <translation>Right Y Axis: Normalize to maximum</translation>
+    </message>    
+    <message>
+        <source>TOT_PLOT2D_NORMALIZE_MODE_RMIN</source>
+        <translation>Right Y Axis: Normalize to global minimum</translation>
+    </message>    
     <message>
         <source>PLOT2D_CURVE_TYPE_LINES</source>
         <translation>Lines</translation>
@@ -357,6 +397,22 @@ Logarithmic scale for ordinate axis is not allowed.</translation>
         <source>PRP_PLOT2D_ANALITIC_CURVES</source>
         <translation>Setups analytic curves properties</translation>
     </message>
+    <message>
+        <source>PRP_PLOT2D_NORMALIZE_MODE_LMAX</source>
+        <translation>Switches view to maximum normalization mode by left Y axis</translation>
+    </message>
+    <message>
+        <source>PRP_PLOT2D_NORMALIZE_MODE_LMIN</source>
+        <translation>Switches view to minimum normalization mode by left Y axis</translation>
+    </message>
+    <message>
+        <source>PRP_PLOT2D_NORMALIZE_MODE_RMAX</source>
+        <translation>Switches view to maximum normalization mode by right Y axis</translation>
+    </message>
+    <message>
+        <source>PRP_PLOT2D_NORMALIZE_MODE_RMIN</source>
+        <translation>Switches view to minimum normalization mode by right Y axis</translation>
+    </message>
     <message>
         <source>PRP_PLOT2D_SETTINGS</source>
         <translation>Setups view properties</translation>
@@ -397,6 +453,22 @@ Logarithmic scale for ordinate axis is not allowed.</translation>
         <source>MEN_PLOT2D_MODE_LOGARITHMIC_VER</source>
         <translation>Vertical Axis: Logarithmic</translation>
     </message>
+    <message>
+        <source>MEN_PLOT2D_NORMALIZE_MODE_LMIN</source>
+        <translation>Left Y Axis: Minimum</translation>
+    </message>
+    <message>
+        <source>MEN_PLOT2D_NORMALIZE_MODE_LMAX</source>
+        <translation>Left Y Axis: Maximum</translation>
+    </message>
+    <message>
+        <source>MEN_PLOT2D_NORMALIZE_MODE_RMIN</source>
+        <translation>Right Y Axis: Minimum</translation>
+    </message>
+    <message>
+        <source>MEN_PLOT2D_NORMALIZE_MODE_RMAX</source>
+        <translation>Right Y Axis: Maximum</translation>
+    </message>
     <message>
         <source>PRP_PLOT2D_FITDATA</source>
         <translation>Fits view to the given data range</translation>
diff --git a/src/Plot2d/resources/plot2d_lmax_normalization.png b/src/Plot2d/resources/plot2d_lmax_normalization.png
new file mode 100755 (executable)
index 0000000..0dfe5ee
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 (executable)
index 0000000..939fbd7
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 (executable)
index 0000000..7cdbdcc
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 (executable)
index 0000000..2d7d174
Binary files /dev/null and b/src/Plot2d/resources/plot2d_rmin_normalization.png differ