Hi, I am trying to use JSci to create line graphs which dynamically plot the last 5 seconds of data obtained from various sensors. I have created a mock-up...
Hi, Yes, there is. You need to write your own Graph2DModel which fires GraphDataEvents with isIncrementalChange=true every time a new data point becomes...
Hi Mark, Sorry to be a bother. I am sort of new at the whole swing thing so I am still trying to learn. I tried to take your advice and I modified the...
Hi - Using JLineGraph, is there a way to only draw the x-axis, but not the y-axis? It doesn't look like it, and drawAxes() in JGraph2D is declared final, so I...
Afraid not, but I can rectify that :D (btw, drawAxes is final because it isn't very friendly to override). I've added setAxisLines(boolean x,boolean y) and ...
Hi, I'm working with multi variable data sets where I am taking measurements of multiple types of molecules at the same time periods. I want to be able to plot...
Yes, most graph classes support multiple data series. ... ___________________________________________________________ To help you stay safe and secure online,...
Hi Mark, what would be the easiest way to implement a legend/key? are there any examples which can be looked at without having to write alot of Java2d code?? ...
Hi, My suggestion would be to write it as a Swing component, and then add it to a layout manager along with the graph. A component something like (in ...
Does anyone know the algorithm used in the running median method, i.e. Turlach vs. Stuetzle or perhaps another method. I know, I know, I suppose I could get...
Let me know which it is, and I'll note it in the javadoc. public static double[] runningMedian(double[] v, int width) { if(v.length<width) throw new...
Hi, I'm working on the NetBeans integration of JSci. I'm not really sure how I could do the parsing right. My source is a InputSource and I need a way to...
Hi, I've committed to the CVS an updated MathMLParser class for you. I have added static translateXXX(Node node) methods. You can pass them the MathMLDocument ...
Hi Mark,
> I've committed to the CVS an updated MathMLParser
> class for you. I have added static translateXXX(Node
> node) methods. You can pass them the...
Hi everyone, i'm having hard times trying to get the JSci package to work. I've literally followed the instructions contained in the index.html file: 1-...
Try import JSci.maths.*; ... ___________________________________________________________ To help you stay safe and secure online, we've developed the all new...
Ok, now that i solved some silly problem i really need your help. I've got a discrete signal stored in a 256 elements array. What i need is to compute its...
I was wondering why the method ____ Signal filter(double[] f) Apply the given array as a convolution Filter and return a new Signal. ____ does return a shorter...
It has to, otherwise the array index would go out of bounds: y(k) = \sum_{l=0}^m f(l) x(k-l) In the discrete case, signals only extend over a finite range....
... I've unsterstood the reason why it would go out of bound. Anyway I extended the original signal simmetrically (to avoid discontinuity problems) with a...
If you have a signal of 2N and filter of N, you should get an output of N+1. Is there any known standard/example signal that when convoluted with some...
In addition to what i just wrote, why does the resample method return me a distorted and noisy signal?!? Is there anything wrong with the java code or am i...
I've added a test case for resample() to the cvs. It looks like it works ok. ... ___________________________________________________________ To help you stay...
... And that is the correct size of the result? What if i want to compare it with the original signal? Should I resample it to 2N samples? Or that is not...
... Sorry I didn't understand where u added the test case to... Anyway if u look at the images i posted u can see that the two signal are quite different. The...