• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

scatter plot and line graph

 
a anitha
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a problem. I have got stuck somewhere incoding. I have completed 40-50% of coding ....could anyone please send me the complete code. I am sending the entire problem
2-d Display Module
This module creates a window on screen and displays two different dimensions of the data plotted against each other. These dimensions should be user-selectable. It should be possible to run several concurrently, each displaying a different representation in its own window on screen.
The following 2-d plots must be implemented:
scatter plot
line graph
Axes must be drawn and labelled.
In addition, it should be possible to overlay multiple data dimensions on the y-axis against the same x-axis data on the same graph.
3-d Display Module
This module creates a window on screen and displays three different dimensions of the data. These dimensions should be user-selectable. It should be possible to run several concurrently, each displaying a different representation in its own window on screen.
The following 3-d plots must be implemented:
scatter plot
space filling curve (each 3-d point joined to the next with a straight line)
Optionally, other 3-d representations can be included (wireframes, surfaces, etc.). Contour plots can also be produced.
Axes must be drawn and labelled.
Matrix methods should be used to produce the necessary 2-d coordinates required for the plotting of the 3-d data on the screen. Basic graphics textbooks contain details of these methods. A basic matrix class has been provided which you are free to use, develop, adapt or ignore as you wish.

--------------------------------------------------------------------------------
High-d Display Module
This module creates a window on screen and displays multiple (>3) different dimensions of the data. These dimensions should be user-selectable. It should be possible to run several concurrently, each displaying a different representation in its own window on screen. It will clearly be necessary to find a way of representing more than 3 dimensions within a 3-d space. You may choose any method you like. Consult graphics books for some ideas, or come up with your own new ones. Basically, a 3-d object can cast a 2-d shadow - in a similar way, a high-d object can cast a 3-d 'shadow' - how you choose to draw the lines from the object to the 'shadow' determines the mapping and hence the representation.

--------------------------------------------------------------------------------
User Interaction
2 and 3-d
The user must be able to rotate the axes of the graphs and zoom in and out, using the mouse and keyboard as appropriate.
Optionally, but desirably, the system should update all windows as apropriate as the user interacts with one of them. For example, if there were two 3-d displays that shared a dimension in common, zooming in on that dimension in one window should trigger similar zooming in the other window. Ideally, the user should be able to interactively decide which displays are linked and interact, and which are independant and therefore do not.
The user must be able to select areas of the data to examine further. Selected data points should then be made available to be displayed using any of the display modules.
For example, in one 3-d representation there may be a subset of data clustered around the origin. The user may choose to select this, and can then redisplay this independently.
>3-d
Optionally, but desirably, the user interaction should work with the higher dimensional representations also.

--------------------------------------------------------------------------------
Statistics Module
You should provide statistical information for relevant selected data, containing at least:
mean
median
mode
max. & min.
standard deviation
For two dimensions of data, the equation of the line of linear regression is also required.
Optionally, further statistical information can be given, for either 2-d or higher dimensions of data.

--------------------------------------------------------------------------------
User Interface
You must provide a way for the user to manage the options for displaying the data, to manage the multiple windows that can be created, to control the colours that the system uses, and to control the data input. This should be as simple and intuitive to use as possible.
please mail back asap
thankx
 
Manfred Leonhardt
Ranch Hand
Posts: 1492
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
You have got to be kidding! Unless you are going to cough up some money, you aren't going to get code that does all you ask for ...
Many 3rd party companies supply java charting classes:
Sitraka
Visual Numerics
NOTE: Your chosen user name is not a valid Ranch name. Please read the policy here and re-register with a valid name.
Regards,
Manfred
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic