Plot using Y1 and Y2 #1123
-
Hi, I have a plot/xml for U plot_U_BCRMSE_ME.xml.txt and V plot_V_BCRMSE_ME.xml.txt separately. When I try to put U and V on the same y1 axis I get an error "Failed to create a plot. fcst_var must remain constant for MODE, MTD, Aggregation statistics, Event Equalizer". So I tried to put V on y2 and leave U on y1 but when I do that only V shows up plot_UV_BCRMSE_ME.xml.txt. I am probably setting something wrong somewhere but any help you can provide would be very appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 4 replies
-
@jwolff-ncar Jamie, I believe that you should be able to make this plot and the bug in METviewer prevents you to do that. |
Beta Was this translation helpful? Give feedback.
-
@jwolff-ncar Jamie, |
Beta Was this translation helpful? Give feedback.
-
@TatianaBurek I uploaded the plot_UV_BCRMSE_ME.xml to the dakota instance but it still did not create a plot with U/V together. I do not have the Y1/Y2 axes synced so I don't think that is the issue. Could you send me the xml that you got to work and I will see how it differs from what I have set? Thanks! |
Beta Was this translation helpful? Give feedback.
-
@jwolff-ncar plot_UV_BCRMSE_ME.xml should work on dakota : http://dakota.rap.ucar.edu:8080/metviewer_dev/ |
Beta Was this translation helpful? Give feedback.
@jwolff-ncar Jamie,
I fixed the code and it is possible now to plot different variables on y1 and y2 axis. The fix is deployed on dakota http://dakota.rap.ucar.edu:8080/metviewer_dev/
and will be the part of beta3 release.
Please note, that if you use Rscript and sync axis you might not see y2 series because the sync happens based on y1 axis. You need to explicitly provide Y1 Bounds to fix this. Python doesn't have this problem