MathGroup Archive 2010

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Park's and Bergstrom's packages

  • To: mathgroup at smc.vnet.net
  • Subject: [mg107486] Re: Park's and Bergstrom's packages
  • From: Matthias <greiff at mac.com>
  • Date: Sun, 14 Feb 2010 05:59:25 -0500 (EST)
  • References: <hkoi9s$svn$1@smc.vnet.net>

Here is what I've found.

The file SimplexDrawGraphics.m starts with the following lines:

BeginPackage["Simplex`SimplexDrawGraphics`",
{"DrawGraphics`DrawingPaper`",
   "DrawGraphics`DrawingField`", "DrawGraphics`DrawingCube`",
   "Simplex`SimplexBasics`"}]

Since I prefer using the newer Presentations package instead of the
DrawGraphics package I replace "DrawGraphics" by "Presentations",
which works except for DrawingField because DrawingField.m is not part
of the Presentation package. Presumably it is not needed in
Mathematica 7. I deleted it (i.e. "DrawGraphics`DrawingField`") and
there are no problems so far.

Using the following command I can plot points in a two-dimensional
simplex. I can change their color but I cannot change the size (by
using Thickness).

Draw2D[{Thickness[0.01], Red, SimplexListDraw[{mylistofpoints}],
 GrayLevel[0], SimplexBoundary}, PlotRange -> {{0, 1}, {0, 1}},
AspectRatio -> 1]

The function SimplexListDraw stems from Ted Bergstrom's package and is
defined as follows:

SimplexListDraw[list_, opts___?OptionQ] :=
 Module[{cartesianList, output}, cartesianList = Map[Simplex2dCoord,
list];
   ListDraw[cartesianList, opts]]

Is there something wrong with ListDraw or are there other ways of
changing the size of points, besides the Thickness command?


  • Prev by Date: Polar coordinates - ReplaceAll issue
  • Next by Date: Re: Line into Image
  • Previous by thread: Park's and Bergstrom's packages
  • Next by thread: Derivative of Interpolation function is highly-oscillatory