Results 1 to 4 of 4

Thread: sunset data

  1. #1
    Java_Fanatic is offline Member
    Join Date
    Oct 2009
    Posts
    12
    Rep Power
    0

    Default sunset data

    Hi, I'm sorta a newbie to graphics and i need help creating a graph that shows the sunset and sunrise with the data given here:
    1 7 21 16 44
    2 7 21 16 45
    3 7 21 16 46
    4 7 21 16 47
    5 7 21 16 48
    6 7 21 16 49
    7 7 21 16 50
    8 7 21 16 51
    9 7 21 16 52
    10 7 20 16 53
    11 7 20 16 54
    12 7 20 16 55
    13 7 20 16 56
    14 7 19 16 57
    15 7 19 16 58
    16 7 18 17 0
    17 7 18 17 1
    18 7 18 17 2
    19 7 17 17 3
    20 7 16 17 4
    21 7 16 17 5
    22 7 15 17 6
    23 7 15 17 8
    24 7 14 17 9
    25 7 13 17 10
    26 7 12 17 11
    27 7 12 17 12
    28 7 11 17 14
    29 7 10 17 15
    30 7 9 17 16
    31 7 8 17 17
    1 7 8 17 18
    2 7 7 17 19
    3 7 6 17 20
    4 7 5 17 22
    5 7 4 17 23
    6 7 3 17 24
    7 7 2 17 25
    8 7 1 17 26
    9 6 59 17 28
    10 6 58 17 29
    11 6 57 17 30
    12 6 56 17 31
    13 6 55 17 32
    14 6 53 17 33
    15 6 52 17 35
    16 6 51 17 36
    17 6 50 17 37
    18 6 48 17 38
    19 6 47 17 39
    20 6 46 17 40
    21 6 44 17 42
    22 6 43 17 43
    23 6 41 17 44
    24 6 40 17 45
    25 6 38 17 46
    26 6 37 17 47
    27 6 36 17 48
    28 6 34 17 49
    1 6 33 17 51
    2 6 31 17 52
    3 6 30 17 53
    4 6 28 17 54
    5 6 27 17 55
    6 6 25 17 56
    7 6 23 17 57
    8 6 22 17 58
    9 6 20 17 59
    10 6 19 18 0
    11 6 17 18 1
    12 6 16 18 2
    13 6 14 18 3
    14 6 12 18 5
    15 6 11 18 6
    16 6 9 18 7
    17 6 8 18 8
    18 6 6 18 9
    19 6 4 18 10
    20 6 3 18 11
    21 6 1 18 12
    22 5 59 18 13
    23 5 58 18 14
    24 5 56 18 15
    25 5 55 18 16
    26 5 53 18 17
    27 5 51 18 18
    28 5 50 18 19
    29 5 48 18 20
    30 5 46 18 21
    31 5 45 18 22
    1 5 43 18 23
    2 5 42 18 24
    3 5 40 18 25
    4 5 38 18 26
    5 5 37 18 27
    6 5 35 18 28
    7 5 34 18 29
    8 5 32 18 30
    9 5 31 18 31
    10 5 29 18 32
    11 5 27 18 33
    12 5 26 18 34
    13 5 24 18 35
    14 5 23 18 36
    15 5 21 18 37
    16 5 20 18 38
    17 5 18 18 39
    18 5 17 18 40
    19 5 15 18 41
    20 5 14 18 42
    21 5 13 18 43
    22 5 11 18 44
    23 5 10 18 45
    24 5 8 18 46
    25 5 7 18 47
    26 5 6 18 48
    27 5 4 18 49
    28 5 3 18 50
    29 5 2 18 51
    30 5 0 18 52
    1 4 59 18 53
    2 4 58 18 54
    3 4 57 18 55
    4 4 56 18 56
    5 4 54 18 57
    6 4 53 18 58
    7 4 52 18 59
    8 4 51 19 0
    9 4 50 19 1
    10 4 49 19 2
    11 4 48 19 3
    12 4 47 19 4
    13 4 46 19 5
    14 4 45 19 6
    15 4 44 19 7
    16 4 43 19 8
    17 4 42 19 9
    18 4 41 19 10
    19 4 40 19 11
    20 4 40 19 12
    21 4 39 19 13
    22 4 38 19 13
    23 4 37 19 14
    24 4 37 19 15
    25 4 36 19 16
    26 4 35 19 17
    27 4 35 19 18
    28 4 34 19 18
    29 4 34 19 19
    30 4 33 19 20
    31 4 33 19 21
    1 4 32 19 22
    2 4 32 19 22
    3 4 32 19 23
    4 4 31 19 24
    5 4 31 19 24
    6 4 31 19 25
    7 4 30 19 25
    8 4 30 19 26
    9 4 30 19 27
    10 4 30 19 27
    11 4 30 19 28
    12 4 30 19 28
    13 4 30 19 29
    14 4 30 19 29
    15 4 30 19 29
    16 4 30 19 30
    17 4 30 19 30
    18 4 30 19 31
    19 4 30 19 31
    20 4 30 19 31
    21 4 30 19 31
    22 4 31 19 32
    23 4 31 19 32
    24 4 31 19 32
    25 4 32 19 32
    26 4 32 19 32
    27 4 32 19 32
    28 4 33 19 32
    29 4 33 19 32
    30 4 34 19 32
    1 4 34 19 32
    2 4 35 19 32
    3 4 35 19 32
    4 4 36 19 31
    5 4 36 19 31
    6 4 37 19 31
    7 4 37 19 31
    8 4 38 19 30
    9 4 39 19 30
    10 4 39 19 30
    11 4 40 19 29
    12 4 41 19 29
    13 4 41 19 28
    14 4 42 19 28
    15 4 43 19 27
    16 4 44 19 27
    17 4 44 19 26
    18 4 45 19 25
    19 4 46 19 25
    20 4 47 19 24
    21 4 48 19 23
    22 4 49 19 23
    23 4 49 19 22
    24 4 50 19 21
    25 4 51 19 20
    26 4 52 19 19
    27 4 53 19 18
    28 4 54 19 17
    29 4 55 19 16
    30 4 56 19 15
    31 4 57 19 14
    1 4 58 19 13
    2 4 58 19 12
    3 4 59 19 11
    4 5 0 19 10
    5 5 1 19 9
    6 5 2 19 8
    7 5 3 19 7
    8 5 4 19 6
    9 5 5 19 4
    10 5 6 19 3
    11 5 7 19 2
    12 5 8 19 0
    13 5 9 18 59
    14 5 10 18 58
    15 5 11 18 57
    16 5 12 18 55
    17 5 13 18 54
    18 5 14 18 52
    19 5 15 18 51
    20 5 16 18 50
    21 5 16 18 48
    22 5 17 18 47
    23 5 18 18 45
    24 5 19 18 44
    25 5 20 18 42
    26 5 21 18 41
    27 5 22 18 39
    28 5 23 18 38
    29 5 24 18 36
    30 5 25 18 35
    31 5 26 18 33
    1 5 27 18 31
    2 5 28 18 30
    3 5 29 18 28
    4 5 30 18 27
    5 5 31 18 25
    6 5 32 18 23
    7 5 33 18 22
    8 5 33 18 20
    9 5 35 18 18
    10 5 35 18 17
    11 5 36 18 15
    12 5 37 18 14
    13 5 38 18 12
    14 5 39 18 10
    15 5 40 18 9
    16 5 41 18 7
    17 5 42 18 5
    18 5 43 18 4
    19 5 44 18 2
    20 5 45 18 0
    21 5 46 17 59
    22 5 47 17 57
    23 5 48 17 55
    24 5 49 17 54
    25 5 50 17 52
    26 5 51 17 51
    27 5 52 17 49
    28 5 52 17 47
    29 5 53 17 46
    30 5 54 17 44
    1 5 55 17 42
    2 5 56 17 41
    3 5 57 17 39
    4 5 58 17 37
    5 5 59 17 36
    6 6 0 17 34
    7 6 1 17 33
    8 6 2 17 31
    9 6 3 17 30
    10 6 4 17 28
    11 6 5 17 26
    12 6 7 17 25
    13 6 8 17 23
    14 6 9 17 22
    15 6 10 17 20
    16 6 11 17 19
    17 6 12 17 17
    18 6 13 17 16
    19 6 14 17 15
    20 6 15 17 13
    21 6 16 17 12
    22 6 17 17 10
    23 6 18 17 9
    24 6 19 17 8
    25 6 20 17 6
    26 6 22 17 5
    27 6 23 17 4
    28 6 24 17 2
    29 6 25 17 1
    30 6 26 17 0
    31 6 27 16 59
    1 6 28 16 57
    2 6 29 16 56
    3 6 30 16 56
    4 6 32 16 54
    5 6 33 16 53
    6 6 34 16 52
    7 6 35 16 51
    8 6 36 16 50
    9 6 37 16 49
    10 6 39 16 48
    11 6 40 16 47
    12 6 41 16 46
    13 6 42 16 46
    14 6 43 16 44
    15 6 44 16 43
    16 6 46 16 42
    17 6 47 16 42
    18 6 48 16 41
    19 6 49 16 40
    20 6 50 16 40
    21 6 51 16 39
    22 6 52 16 38
    23 6 53 16 38
    24 6 54 16 37
    25 6 56 16 37
    26 6 57 16 36
    27 6 58 16 36
    28 6 59 16 36
    29 7 0 16 35
    30 7 1 16 35
    1 7 2 16 35
    2 7 3 16 35
    3 7 4 16 34
    4 7 5 16 34
    5 7 6 16 34
    6 7 7 16 34
    7 7 8 16 34
    8 7 8 16 34
    9 7 9 16 34
    10 7 10 16 34
    11 7 11 16 34
    12 7 12 16 34
    13 7 12 16 34
    14 7 13 16 35
    15 7 14 16 35
    16 7 15 16 35
    17 7 15 16 35
    18 7 16 16 36
    19 7 16 16 36
    20 7 17 16 37
    21 7 18 16 37
    22 7 18 16 38
    23 7 19 16 38
    24 7 19 16 39
    25 7 19 16 39
    26 7 20 16 40
    27 7 20 16 41
    28 7 20 16 41
    29 7 21 16 42
    30 7 21 16 43
    31 7 21 16 43

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,315
    Blog Entries
    1
    Rep Power
    26

    Default

    Quote Originally Posted by Java_Fanatic View Post
    Hi, I'm sorta a newbie to graphics and i need help creating a graph that shows the sunset and sunrise with the data given here:
    Good for you, and we wish you much luck!

    um,... did you have an actual question?

  3. #3
    Java_Fanatic is offline Member
    Join Date
    Oct 2009
    Posts
    12
    Rep Power
    0

    Default

    i was kind of hoping for help here... I really have no idea what to do and was wondering if someone could walk me through this

  4. #4
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,315
    Blog Entries
    1
    Rep Power
    26

    Default

    I'm sure that you've learned something by now in your Java class and know at least enough to break the big problem down into little steps. With a little effort you can figure out at least some of this on your own, right? The more effort you put into this on your own, the more you'll get out of it. Also, you'll be able to ask much more specific questions which are usually answered better here than general ones. So what are the constituent steps involved in this problem? Why don't you post what you think these are and then perhaps we can better know where you're having trouble and what we can help with.

    OTOH, if you really need full hand-holding here, then this would be better done one-on-one and you should contact your instructor. Best of luck.
    Last edited by Fubarable; 12-16-2009 at 04:53 AM.

Similar Threads

  1. data structure and data base??
    By ahmed13 in forum Advanced Java
    Replies: 8
    Last Post: 03-27-2009, 06:48 AM
  2. how to store the data in data base
    By eclipse3.4ide in forum New To Java
    Replies: 5
    Last Post: 02-03-2009, 05:25 AM
  3. error while retrieving data from data base
    By kirtesh4u in forum New To Java
    Replies: 5
    Last Post: 11-15-2008, 05:10 PM
  4. Replies: 0
    Last Post: 10-31-2008, 03:13 PM
  5. Data Sorting in a .data file using java
    By stutiger99 in forum New To Java
    Replies: 2
    Last Post: 10-08-2008, 03:52 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •