Bill Finzer

Forum Replies Created

Viewing 15 posts - 256 through 270 (of 392 total)
  • Author
    Posts
  • in reply to: Strange graph issue #1206
    Bill Finzer
    Keymaster

    Well, the bug only got introduced a couple months ago. 🙂

    in reply to: Strange graph issue #1204
    Bill Finzer
    Keymaster

    Hi Andee,

    Found and fixed the bug. The fix will appear in build 0510. Due to vacation interruptions in development that won’t be until about January 17.

    Happy New Year!

    in reply to: Strange graph issue #1199
    Bill Finzer
    Keymaster

    Hi Andee,

    Thanks very much for this bug report! I suspect it has something to do with missing values. I’ll log it and mark it high priority.

    Bill

    p.s. It’s generally not a good idea to share links to documents on Google Drive since, depending on permissions, anyone who opens it can make changes to it. Better to use Sharing.

    in reply to: Importing Google Forms data into CODAP #1178
    Bill Finzer
    Keymaster

    Sorry, it’s “extra-project” work so I wouldn’t count on it for February.

    in reply to: Importing Google Forms data into CODAP #1176
    Bill Finzer
    Keymaster

    Hi Andee,

    You found the preferred method—download as CSV and drag (or import) the file into CODAP.

    We’ve got some background work going on to make this easier and to also append data to an existing dataset. Stay tuned. (But for now, there’s no way to append data.)

    Bill

    in reply to: data source #1159
    Bill Finzer
    Keymaster

    Hello Daichi,

    The Fast Plants data is fictitious, created to provide a context to help us do some research on how students perceive hierarchical data. You read about this research here.

    You ask about a Japanese localization. We rely on volunteers for this effort. If you know someone who would be interested and able to translate CODAP into Japanese, please put them in touch.

    Bill

    in reply to: Linked Samplers #1153
    Bill Finzer
    Keymaster

    Yes, that’s correct.

    CODAP development happens in collaboration with projects that can provide funding for desired features. Hollylynne’s ESTEEM project funded Sampler development to its current state. There are a number of folks seeking funding to continue work on the Sampler to bring its functionality to at least the level provided in TinkerPlots. But for now, no linked samplers. 🙁

    in reply to: count(expression, filter) question #1136
    Bill Finzer
    Keymaster

    The count function applies to the cases at the next level. So, as you can see in this screenshot, if you use the formula at the samples level, it does the right thing. Hope that works for you!

    in reply to: Counting number of distinct/unique values #1126
    Bill Finzer
    Keymaster

    Hi Anna,

    Yes, it would be very nice to have a function “countUnique” or some such that returned the number of unique values of an attribute. I’ll add this to the feature request list!

    I understand why you might not be a fan of your workaround. 😉 Another workaround you may have thought of is to group by value by moving the value attribute all the way to the left. Now, of course, the count of unique values is the number of rows at that level. If you want a computed count of unique values, you can define an attribute one level higher that counts those rows.

    The enclosed screenshot shows the situation using the Roller Coasters example doc.

    Bill

    Attachments:
    in reply to: The Summary Tables #1124
    Bill Finzer
    Keymaster

    Please see this thread.

    in reply to: Map color scale #1014
    Bill Finzer
    Keymaster

    Hi Kristen,

    The short answer is that CODAP does not provide any way to adjust the numeric legend color scale. As far as I know you are the first person to express a desire for this. Four years ago when we implemented the feature we thought users might want to adjust things but decided to wait and see. Now I’ll certainly add your feature request to our list.

    Perhaps you could say a bit about the context in which you are using CODAP and how it would help you to make these adjustments?

    Thank you!

    in reply to: Creating Student Links to a Master File #1004
    Bill Finzer
    Keymaster
    Your question has a simple answer. From the menu in the upper-left of the window, choose Share/Get link to shared view.
    PastedGraphic-1.png
    In the resulting dialog box, click the Enable Sharing button. This gives you a link to a shared view of your document which you can distribute to students. When students click on the link they will get a copy of your document to work with.
    in reply to: Percentile function #991
    Bill Finzer
    Keymaster

    Here is CODAP’s source code for the computation:

    /**
     * Get the quantile
     * @param iArray Sorted array of finite numeric values (no non-numeric or missing values allowed)
     * @param iQuantile {Number} quantile [0.0-1.0] to calculate, e.g. first quartile = 0.25
     * @return {Number} median value or undefined if ioArray.length===0
     */
    quantileOfSortedArray: function (iSortedArray, iQuantile) {
      var lastIndex = iSortedArray.length - 1,
          i = lastIndex * iQuantile, // quantile's numeric-real index in 0-(n-1) array
          i1 = Math.floor(i),
          i2 = Math.ceil(i),
          fraction = i - i1;
      if (i < 0) {
        return undefined; // length === 0, or iQuantile < 0.0
      } else if (i >= lastIndex) {
        return iSortedArray[lastIndex]; // iQuantile >= 1.0
      } else if (i === i1) {
        return iSortedArray[i1]; // quantile falls on data value exactly
      } else {
        // quantile between two data values;
        // note that quantile algorithms vary on method used to get value here, there is no fixed standard.
        return (iSortedArray[i2] * fraction + iSortedArray[i1] * (1.0 - fraction));
      }
    },

    As you can see in the last line, when desired quantile falls between two values, the returned value is the lower value plus the fraction of the distance between it and the next value.

    in reply to: Scaling Y axes #979
    Bill Finzer
    Keymaster

    Hi Andee,

    Interesting question. As the programmer for graphs I should be able to lay out the heuristics that determine whether a scatterplot (or any plot with a numeric axis) rescales.

    The plot will rescale when:

    • You press the Rescale button at the top of the graph’s “inspector.”
    • An attribute is added to an axis or the legend.
    • An attribute already on an axis or legend is changed to a different attribute.
    • An attribute on an axis or legend is removed.
    • One or more cases are added that have values for the plotted attributes that lie outside the current axis bounds.
    • Points that have been hidden are shown and some of the values lie outside the current axis bounds.
    • Cases that have been set aside are restored and some of the values lie outside the current axis bounds.

    The plot will not rescale when:

    • A case value is changed even if that value lies outside the current axis bounds.
    • Cases are added but their values already lie within the current axis bounds.
    • The graph is moved or resized.
    • Points are hidden or their corresponding cases are deleted or set aside.

    These heuristics evolved during the development of Fathom. I think you may be the first person expressing a desire to know what they are. And I don’t recall anyone ever asking that we change the rules, at least since the very early days.

     

    Bill

    in reply to: React Component or npm package #977
    Bill Finzer
    Keymaster

    There is no CODAP react component or npm package. The simplest integration is with embedded iFrames that point to shared views of CODAP documents. See this recent blog post for an example.

    Integration is also possible through CODAP’s plugin API. Here is an example of that. (Use the Add Graph and Add Table buttons to see CODAP functionality as part of the OceanTracks page.)

Viewing 15 posts - 256 through 270 (of 392 total)