1.
Ted Kosan pointed me to the possibility to draw box plots
using JFreeChart e.g.:
http://www.java2s.com/Code/JavaImages/JFreeChartBoxAndWhiskerDemo.PNG
It is just this kind of box plots I would like
to draw using a mathpiper function.
Could you give me and hint how to write such a function?
2.
I need to draw planes and lines in 3D.
Is that currently possible using MathPiper?
[yes, I can use Maxima od Euler etc,
but my class should use only one CAS ;)]
hth
Wolfgang
> Ted Kosan pointed me to the possibility to draw box plots
> using JFreeChart e.g.:
>
> http://www.java2s.com/Code/JavaImages/JFreeChartBoxAndWhiskerDemo.PNG
>
> It is just this kind of box plots I would like
> to draw using a mathpiper function.
>
> Could you give me and hint how to write such a function?
I will have to add a BoxPlot function to MathPiper to handle this
because the function needs to be implemented in Java. A question I
have is what information should be passed to BoxPlot?
Here is the information that JFreeChart needs for each box and whisker:
mean - the mean.
median - the median
q1 - the first quartile.
q3 - the third quartile.
minRegularValue - the minimum regular value.
maxRegularValue - the maximum regular value.
minOutlier - the minimum outlier value.
maxOutlier - the maximum outlier value.
outliers - a list of the outliers.
Some of this information looks like it can be calculated inside of
BoxPlot from a list of passed-in data.
If you could submit an example program which shows how you see a
BoxPlot function being used, that would be helpful :-)
> I need to draw planes and lines in 3D.
> Is that currently possible using MathPiper?
> [yes, I can use Maxima od Euler etc,
> but my class should use only one CAS ;)]
MathPiper has a Plot3DS function and a 3D object viewer
(3DExploreMathJ), but they have not been hooked up to each other yet.
We have been letting 3D plotting sit in our todo list until someone
requested it because there have been so many other aspects of
MathPiper that needed to be worked on. However, since you requested
this feature we will increase its priority.
Ted
I think of 2 two possibilities (comparing with CAS MuPAD inside MatLAB):
1. one data set :
data := [5, 10, 24, -4, 13]:
plot2D (BoxPlot(data1):
resulting in a plot as attached
(example 1 = Beispiel 1, sorry it's in German).
The info needed is the dataset, TUKEY-5-point-summary is calculated:
(min, 1.quartile, mean, median, 3.quartile, max).
The outliers are obviously computed inside JFreechart.
2. several data sets:
data1 := [5, 10, 24, -4, 13]:
data2 := [7, 9, -1, 4, 10, 8, 12, 10, 15]:
plot2D(Boxplot(data1, data2)):
See picture attached.
And as surplus special whishes using centers of many boxplots
or distinguising colors etc
Hope it helps.
As for the 3D-graphs of functions it would be nice to have
them .. because we can plot 2D graphs using Geogebra :)
If it is allowed to vote for priority:
1. 3D graphics
2. ..
n. BoxPlot ;)
hth
Wolfgang
-----Urspr�ngliche Nachricht-----
Von: Ted Kosan <ted....@gmail.com>
An: mathpi...@googlegroups.com <mathpi...@googlegroups.com>
Datum: Dienstag, 16. M�rz 2010 01:51
Betreff: Re: Boxplot and 3d-plots
> I think of 2 two possibilities (comparing with CAS MuPAD inside MatLAB):
>
> 1. one data set :
>
> data := [5, 10, 24, -4, 13]:
> plot2D (BoxPlot(data1):
>
> resulting in a plot as attached
> (example 1 = Beispiel 1, sorry it's in German).
>
> The info needed is the dataset, TUKEY-5-point-summary is calculated:
> (min, 1.quartile, mean, median, 3.quartile, max).
> The outliers are obviously computed inside JFreechart.
>
>
> 2. several data sets:
>
> data1 := [5, 10, 24, -4, 13]:
> data2 := [7, 9, -1, 4, 10, 8, 12, 10, 15]:
> plot2D(Boxplot(data1, data2)):
>
> See picture attached.
> And as surplus special whishes using centers of many boxplots
> or distinguising colors etc
>
> Hope it helps.
This information is very helpful! Thanks for sending it.
> As for the 3D-graphs of functions it would be nice to have
> them .. because we can plot 2D graphs using Geogebra :)
>
> If it is allowed to vote for priority:
> 1. 3D graphics
> 2. ..
> n. BoxPlot ;)
Okay, I will place 3D graphics ahead of BoxPlot on the priority list.
Ted
> I need to draw planes and lines in 3D.
> Is that currently possible using MathPiper?
> [yes, I can use Maxima od Euler etc,
> but my class should use only one CAS ;)]
If you would, please send some maxima code which demonstrates the
kinds of 3D geometry you would like to draw. This will be useful as I
am creating the 3D functions for MathPiper.
Thanks :-)
Ted
find attached some Maxima code from my use in class (Planes & Lines)
and the resulting plots. Also the plot of vectors would be nice ..
I find the distinction explicit-implict-parametric plots from
Mario Riotorto (developer of package draw in maxima) very well
choosen.
His package is a phantastic piece of code for 2D/3Dplots and more:
http://www.telefonica.net/web2/biomates/maxima/gpdraw/func3d/index.html
As you know maxima uses gnuplot ..
I suspect that Mathpiper 3Dplots will be pop up in the grafic window
while the code is in the command window.
: is it /will it be possible to display 'general' pictures (e.g.
assessments with math symbols ['latex screen shots'] or other
tasks or png-pictures etc] in the grafic window:
>%mathpiper
show("dogAndCat.png")
..
Thanks for your work.
Wolfgang
-----Urspr�ngliche Nachricht-----
Von: Ted Kosan <ted....@gmail.com>
An: mathpi...@googlegroups.com <mathpi...@googlegroups.com>
Datum: Donnerstag, 18. M�rz 2010 23:16
Betreff: Re: Boxplot and 3d-plots