# Question:Plotting 3D

## Question:Plotting 3D

Maple
Hi, Sorry but i ve repeated the same question a few days ago but because it was quite down the line i thought to give it another shot I would like to make a 3D plot of some density functions(F(X)) where each lets say cdf, corresponds to a time value.So far Ive tried using the transform((x, y) command.The example below where I show how I have worked out for 4 cdfs corresponding to 10,20,30 and 40 ms, hopefully it will make it clearer of what i mean.(I have a thousand of different distributions up to 10 secs). with(stats): > C001:=plot(statevalf[cdf,lognormal[0.3792,0.9556]], 0..4, colour=green): > C002:=plot(statevalf[cdf,lognormal[0.3525,0.9214]], 0..4, colour=green): > C003:=plot(statevalf[cdf,lognormal[0.3257,0.889]], 0..4, colour=green): > C004:=plot(statevalf[cdf,lognormal[0.2990,0.8580]], 0..4, colour=green): > f(0.01) := plottools:-transform((x, y) -> [x, y, 0.01]): > f(0.02) := plottools:-transform((x, y) -> [x, y, 0.02]): > f(0.03) := plottools:-transform((x, y) -> [x, y, 0.03]): > f(0.04) := plottools:-transform((x, y) -> [x, y, 0.04]): plots[display](f(0.01)(C001),f(0.02)(C002),f(0.03)(C003),f(0.04)(C004),axes=boxed,labels = ["Parameter X","Probability","Duration,s"]); Q1:Is there another way, more appropriate to plot the cdfs on 3D axes including time as i have above? Q2:Is there away these curves to form a surface? (It would be ideal if i could change the color of the surface according to the probability) Q3:Is there finally a way to interact with that surface in a way where i input X and Y to get Z back.For 2D plots there is a point prob but not somethin similar for 3D.Perhaps could I make a maplet where I input 2 variable to get the 3rd one back? Any hints or suggestions which could help will be highly appreciated. Thanks in advance, Nasos ﻿