Stem-and-leaf plot: Difference between revisions

From Rosetta Code
Content added Content deleted
(rewording to be more generic after consultation with User:Short Circuit)
(Minor sentence restructure and some formatting.)
Line 7: Line 7:
The primary intent of this task is the presentation of information. It is acceptable to hardcode the data set or characteristics of it (such as what the stems are) in the example, insofar as it is impractical to make the example generic to any data set. For example, in a computation-less language like HTML the data set may be entirely prearranged within the example; the interesting characteristics are how the proper visual formatting is arranged.
The primary intent of this task is the presentation of information. It is acceptable to hardcode the data set or characteristics of it (such as what the stems are) in the example, insofar as it is impractical to make the example generic to any data set. For example, in a computation-less language like HTML the data set may be entirely prearranged within the example; the interesting characteristics are how the proper visual formatting is arranged.


The output should, if possible, not be a bitmap image. Monospaced plain text is acceptable.
If possible, the output should not be a bitmap image. <code>Monospaced plain text</code> is acceptable.

Revision as of 01:24, 14 December 2009

This is an idea for a task, incomplete and with no actual examples, and so it is not yet marked with the task template. —Kevin Reid 00:27, 14 December 2009 (UTC)

Create a well-formatted stem-and-leaf plot from the following data set:

XXX provide some sample data (2-3 digit integers (to avoid discussing rounding) with an interesting distribution)

The primary intent of this task is the presentation of information. It is acceptable to hardcode the data set or characteristics of it (such as what the stems are) in the example, insofar as it is impractical to make the example generic to any data set. For example, in a computation-less language like HTML the data set may be entirely prearranged within the example; the interesting characteristics are how the proper visual formatting is arranged.

If possible, the output should not be a bitmap image. Monospaced plain text is acceptable.