When dataset has too many data points for display

CODAP Forums CODAP Help Forum When dataset has too many data points for display

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #6027 Score: 0
    K Perry
    Participant

    I have trip data from a weather balloon– somewhere around 1500 data points taken at intervals of 6 seconds. This is too much for an easy to read graph display (for example time by altitude).  Do I need to use a for loop with a step of 25 or 50 or so on the data outside of CODAP first in order to reduce the number of data points?  OR, can I do that inside CODAP?  Thanks

    #6028
    Bill Finzer
    Keymaster

    I can think of a couple possibilities and I bet others can think of more.

    1. The easiest might be to use the graph’s “brush” menu to reduce the size of the points. That doesn’t change the number of points of course, but it might make the graph easy to read.
    2. Define a new attribute with a formula that returns the measurement value if the caseIndex is a multiple of, say, 25, and returns an empty value otherwise. Let’s say the measurement attribute is altitude. Then the formula for the new attribute would be:

    if(caseIndex % 25 = 0, altitude, ”)

    Hope that helps,

    Bill

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CODAP Help Forum’ is closed to new topics and replies.