Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #4561

Re: plot quadratic equation graph

From "John B. Matthews" <nospam@nospam.invalid>
Newsgroups comp.lang.java.gui
Subject Re: plot quadratic equation graph
Date 2011-05-22 03:57 -0400
Organization The Wasteland
Message-ID <nospam-4DDD85.03575622052011@news.aioe.org> (permalink)
References <e00e980a-1a65-4564-b36f-f94f11d98ac2@j13g2000pro.googlegroups.com>

Show all headers | View raw


In article 
<e00e980a-1a65-4564-b36f-f94f11d98ac2@j13g2000pro.googlegroups.com>,
 SamuelXiao <foolsmart2005@gmail.com> wrote:

> I am writing a japplet to plot the quadratic equation graph, that is, 
> y=ax^2+bx+c.  I found JFreeChart does not display negative x and y.

That is not my experience, as shown in this example:

<https://sites.google.com/site/drjohnbmatthews/jfreechartdemo>

Function2DDemo1, a parabola, is another example:

<http://www.jfree.org/jfreechart/jfreechart-1.0.13-demo.jnlp>

With a suitable transformation, even conventional polar plots are 
possible:

<http://stackoverflow.com/questions/3467341>

> Does anyone know how to do it? When I input a, b and c and press the 
> plot button, the corresponding graph should be plotted with smooth 
> line. For a,b,c and button part, I have done. Now just not know how 
> to make the graph plotting.
> 
> Any help would be highly appreciated.

Here's a simple example that draws a portion of y = sin x:

<http://groups.google.com/group/comp.lang.java.programmer/msg/84a4c123abd96011>

If you have access to Mac OS X, Grapher is particularly nice:

<http://en.wikipedia.org/wiki/Grapher>

-- 
John B. Matthews
trashgod at gmail dot com
<http://sites.google.com/site/drjohnbmatthews>

Back to comp.lang.java.gui | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

plot quadratic equation graph SamuelXiao <foolsmart2005@gmail.com> - 2011-05-21 22:12 -0700
  Re: plot quadratic equation graph "John B. Matthews" <nospam@nospam.invalid> - 2011-05-22 03:57 -0400
    Re: plot quadratic equation graph SamuelXiao <foolsmart2005@gmail.com> - 2011-05-28 07:20 -0700
      Re: plot quadratic equation graph "John B. Matthews" <nospam@nospam.invalid> - 2011-05-28 23:12 -0400
        Re: plot quadratic equation graph SamuelXiao <foolsmart2005@gmail.com> - 2011-05-29 06:40 -0700
          Re: plot quadratic equation graph "John B. Matthews" <nospam@nospam.invalid> - 2011-05-29 14:59 -0400
            Re: plot quadratic equation graph Lewis Bloch <lewisbloch@google.com> - 2011-06-20 09:06 -0700
  Re: plot quadratic equation graph Roedy Green <see_website@mindprod.com.invalid> - 2011-05-26 09:58 -0700

csiph-web