Update x-axis labelling position on CPS plots 23/20023/1
authoremaclee <lee.anjella.macabuhay@est.tech>
Mon, 27 Nov 2023 07:00:06 +0000 (07:00 +0000)
committeremaclee <lee.anjella.macabuhay@est.tech>
Mon, 27 Nov 2023 07:00:06 +0000 (07:00 +0000)
Issue-ID: CPS-1777
Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech>
Change-Id: I567d362911b3f2a331cb6bce30cbc7951e79fda0

jjb/onap/cps/prepare-performance-tests-data.sh

index 3205eb3cbd0a765e09f23e977c9ab79490335331..7be4e83c7c72631d31342faa82ff031d5c563294 100644 (file)
@@ -137,13 +137,8 @@ buildStaticReport() {
     # Set Y-axis label
     set ylabel "Percentage of limit %"
 
-         # Get stats for min and max
-    stats '$dataFile' using 1
-         xmin = STATS_min
-         freq = 5 #frequency
-         xLabel(x) = (int((x - xmin) / freq) % 2 == 0) ? sprintf("%d", x) : ""
-
-       plot '$dataFile' using (column(0)+1):2:xtic(xLabel(column(1))) with linespoints title "limit"
+       set xtics rotate
+       plot '$dataFile' using (column(0)+1):2:xtic(sprintf("%d", column(1))) with linespoints title "limit"
 EOT
 
     # Run the Gnuplot script
@@ -388,3 +383,12 @@ buildPageReport "createLargeData.png" "Creating openroadm anchors with large dat
 buildPageReport "readDataTrees.png" "Read datatrees using openroadm root"  "readOperation.html"
 buildPageReport "updateDatanodes.png" "Update 100 data nodes" "updateOperation.html"
 buildPageReport "batchDelete.png" "Batch delete 100 whole lists" "deleteOperation.html"
+
+#############################################################################################################################
+##################################################### D A T A ###############################################################
+#############################################################################################################################
+
+cat create_performance_data.txt
+cat read_performance_data.txt
+cat update_performance_data.txt
+cat delete_performance_data.txt
\ No newline at end of file