Creating a surface plot in Matlab

Joined
2/3/13
Messages
245
Points
138
Hi Guys,

I need a little help in creating surface plot for my calculated implied volatility. My strike prices are from 81 to 120 and maturity from 0.1 to 2. How can I plot the volatilities against these? I will really appreciate your help.
 
Use the fuction meshgrid() to setup the grid, and then use the function mesh() to plot the values.
 
Back
Top Bottom