2-D Plot with Latitude, Pressure Level, and other Variables

4 views (last 30 days)
Hi everyone!
I have been tasked with plotting specific humidity on a 2-D plot that uses latitude as the x-axis and atmospheric pressure level as the y-axis. In essence, specific humidity should be a dotted line that expresses how the variable changes with respect to latitude and pressure level. Am I making this more complicated than it has to be? Any helpful tips on how best to approach the problem?
Thanks in advance!
P.S. Here is a 3-D plot I produced using lat, atmospheric pressure, and specific humidity. Unfortunately, I need a 2-D plot with lat and pressure as axes and specific humidity as a dotted line.
  4 Comments
Walter Roberson
Walter Roberson on 3 Nov 2020
create a grid of humidity based on latitude and pressure, and contour?
Michelle De Luna
Michelle De Luna on 3 Nov 2020
Walter, thank you! I ended up using the contour function to keep a few contour lines of specific humidity (g/kg). I appreciate your help! This was the tip I needed! Please take care and stay safe. :)

Sign in to comment.

Accepted Answer

Michelle De Luna
Michelle De Luna on 3 Nov 2020
Edited: Michelle De Luna on 4 Nov 2020
Thank you to all for your input! The issue was addressed using the contour function and focusing on one contour line of interest.

More Answers (0)

Categories

Find more on Line Plots in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!