Matlab: Adding third dimenstion to 2D plot
===

I have the following code to generate me a 2D plot or 2 normal distributions:

            res = zeros(2, 320); 
            index = 1:320;
            
            % assign some data to the res array and then approximate result with ND:  
        
            PD = fitdist(index','normal', 'frequency', res(1,:)')
            pdfNormal = normpdf(index',PD.mu,PD.sigma);
            plot(index', pdfNormal, 'Color', 'r', 'LineWidth', 2);
            hold on;
            PD = fitdist(index','normal', 'frequency', res(2,:)')
            pdfNormal = normpdf(index',PD.mu,PD.sigma);
            plot(index', pdfNormal, 'Color', 'b', 'LineWidth', 2);            

This code generates me then the following picture:

![2D Plot of my data][1]

Now I am wondering how I could add a third dimension to this plot? Essentially,
I would like to plot another 2 normal distributions, but this time in the Z-axis,
ie., in the third dimension.

Anyone an idea how I could do that easily?

Thanks so much!


  [1]: http://i.stack.imgur.com/Bvt6W.jpg