Category : Science and Education
Archive   : UCALC28.ZIP
Filename : PLOTDEMO

 
Output of file : PLOTDEMO contained in archive : UCALC28.ZIP
; To run this demo, type UCALC < PLOTDEMO at the DOS prompt.
; Please remember to register.

prec 4 ; Many graphs do not require high precision for visual accuracy.
gcolor 8 ; GCOLOR sets the background color.

plot
y=sin(x) ; Try the different menu options,
y=2sin(x) ; and then press [Esc] to move on to the next screen.
y=3sin(x)
y=4sin(x)

plot y=x*sin(x)-2

grid 7

plot y=x*sin(x)-2, 1 to 5 ; Same equation, but within an interval

grid 0 ; grid is turned off
prec 10 ; precision is reset to default

plot r=t/pi, 0 to 5pi ; Polar equation
plot x=cos(t)-cos(2t), y=sin(t)-sin(2t), 0 to 2pi ; Parametric equation
plot 3*sin(t), t, -7.5 to 7.5 ; Another parametric equation

window(0,10,0,8) ; (0,0) is now on the bottom left of the screen
plot x^sin(x)

window(-10,10,-7.5,7.5) ; Back to the default window setting

plot ; Plot by itself prompts for multiple equations
line(-6,-5,-1,4)
y=sin(x)
y=2sin(x)
r=2cos(3t)
x=2cos(t), y=2sin(t)
rect(5,3,7,7)
fill(6,4)

plot"graph1.dat" ; Plots the data from another file

plot
sin(x)
rect(-9,-5,-4,-2)
"graph2.dat"

exit



  3 Responses to “Category : Science and Education
Archive   : UCALC28.ZIP
Filename : PLOTDEMO

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/