Skip to content

Plot2DPanel.addLinePlot plots double[] x, double[] y plots differently depending on length of array #5

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. Plot2DPanel.addLinePlot("", new double[]{1,2,3}, new double[] {4,5,6})
2. Plot2DPanel.addLinePlot("", new double[]{1,2}, new double[] {4,5})
3.

What is the expected output? What do you see instead?
according to the arguments (String, double[] X, double[] Y), #1 should be 
plotting the follow data points(1,4), (2,5), (3,6) and #2 should plot (1,4) and 
(2,5).

This does not happen for #2. #2 plots (1,2) and (4,5).


What version of the product are you using? On what operating system?
8/2009 download, XP

Please provide any additional information below.


Original issue reported on code.google.com by edhsieh1...@gmail.com on 1 Apr 2011 at 7:46

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions