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

조회 수: 4 (최근 30일)
Michelle De Luna
Michelle De Luna 2020년 11월 3일
편집: Michelle De Luna 2020년 11월 4일
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
Walter Roberson
Walter Roberson 2020년 11월 3일
create a grid of humidity based on latitude and pressure, and contour?
Michelle De Luna
Michelle De Luna 2020년 11월 3일
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. :)

댓글을 달려면 로그인하십시오.

채택된 답변

Michelle De Luna
Michelle De Luna 2020년 11월 3일
편집: Michelle De Luna 2020년 11월 4일
Thank you to all for your input! The issue was addressed using the contour function and focusing on one contour line of interest.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Line Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by