 |
Two parametric functions on 2 pads using HPlot3DP canavs
Source code name: "func_param3.py"
Programming language: Python
Topic: Function/Parametric
DMelt Version 1. Last modified: 12/11/2015. License: Pro
https://datamelt.org/code/cache/func_param3_5451.py
To run this script using the DMelt IDE,
copy the above URL link to the menu [File]→[Read script from URL] of the DMelt IDE.
from java.awt import Color
from jhplot import *
c1 = HPlot3DP("Canvas",600,600,2,1)
c1.setGTitle('3D surfaces')
c1.visible();
f1=FPR('u=2 Pi u; z=1.5*(v-.5); x=z cos(u)*.8-0; y=z sin(u)*.8+0')
f1.setFillColor(Color.green)
f2=FPR('u=2 Pi u; x=cos(u)*.5+.1; y=sin(u)*.5+.1; z=1.5*(v-.5)')
c1.cd(1,1)
c1.draw(f1)
c1.cd(2,1)
c1.draw(f2)
You see the box below because you did not login.