Jump to content



Photo
- - - - -

Draw Area Or Draw Line


  • Please log in to reply
5 replies to this topic

#1 tangtingtong

tangtingtong

    Newbie

  • Members
  • Pip
  • 15 posts

  • Calculators:
    FX-7400G

Posted 26 November 2006 - 03:41 PM

How to Draw Area or Draw line in calculator 9850??
I have x and y volume. But dont know x y must put where, then how to make it draw line or area???? :banghead: :banghead: :banghead:

#2 tutti

tutti

    Casio Addict

  • Members
  • PipPipPip
  • 65 posts

  • Calculators:
    FX-9860G SD

Posted 27 November 2006 - 01:35 PM

Lines can be drawn using either the Line command or the F-Line command. The Line command will draw a line between the last two plotted pixels, while the F-Line requires two points to be input in the command. The following examples do the exact same thing:

Plot 3,5
Plot 5,5
Line

F-Line 3,5,5,5

Which one to use depends on what you're going to use it for.

As for drawing an area, there's no command for that. It'd make life easier at times, but Casio wasn't designed for games in the first place.

#3 tangtingtong

tangtingtong

    Newbie

  • Members
  • Pip
  • 15 posts

  • Calculators:
    FX-7400G

Posted 27 November 2006 - 03:49 PM

I do 1 routine program got x and y
run few time,
i want do draw all line, how to make it
can i store x in list 1 and y in list, after then can draw all line???
if can how to store in list 1 & 2 in program script :banghead: :banghead:

#4 tangtingtong

tangtingtong

    Newbie

  • Members
  • Pip
  • 15 posts

  • Calculators:
    FX-7400G

Posted 30 November 2006 - 11:35 AM

i u this
Plot 3,5
Plot 5,5
Line
but cant view line in center?????

#5 kucalc

kucalc

    Casio Maniac

  • [Legends]
  • PipPipPipPipPipPipPipPip
  • 1422 posts
  • Gender:Male
  • Location:USA
  • Interests:Programming: C/C++, Fortran, LISP, COBOL 85 Standard, PHP, x86 and SH3 Assembly

    Computer graphics

  • Calculators:
    fx-9860G / fx-7400G Plus / Algebra FX 2.0+ / fx-9770G / CFX-9850G / CFX-9850GB+ / TI-89 / TI-nSpire

Posted 01 December 2006 - 04:33 AM

Oh yeah, make sure your coordinate plane is viewable. CASIO graph calcs usually use a command on ViewWindow to do this. Another way is to go to Graph mode, press SHIFT and then press F3 (V-Window). :D

#6 liquid

liquid

    Wannabe Casio God

  • Members
  • PipPipPip
  • 66 posts
  • Gender:Male
  • Location:NZ

  • Calculators:
    fx 9750 Plus

Posted 10 December 2006 - 07:51 AM

To fill in an area you will need two equations that describe the upper and lower boundries of the area to fill.

Now draw an y<= graph for the upper boundary,
Now draw a y>= graph for the lower boundary,

also on the graphs put the x-axis points to contain the area, an example: a simple square:

graph y<=2,[2,3]
graph y>=1,[2,3]

^^(i dont remember what the commands look like in programming mode)

This will fill in a square in between the x-axis points of 2->3, and in between the y-axis points of 1->2

This is also usefull to fill in areas in games as it can be easier/faster/require less code/more flexable than using lots of f-lines. Enjoy!


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users