Class Plot2DDemo2


  • public class Plot2DDemo2
    extends Object
    Plots the value of an option under the Black-Scholes model as a function of strike and time-to-maturity.
    Author:
    Christian Fries
    • Constructor Detail

      • Plot2DDemo2

        public Plot2DDemo2()
    • Method Detail

      • main

        public static void main​(String[] args)
                         throws Exception
        Run the demo. Plots the value of an option under the Black-Scholes model as a function of strike and time-to-maturity.
        Parameters:
        args - Not used.
        Throws:
        Exception - Exception from the graphics backend.