# circle « Plot « JFreeChart Q&A

### 1. Jfreechart : Drawing a circle outside the plot area    stackoverflow.com

I have a XY Plot in Jfreechart. I want to draw a circle(using Shape) which may be outside the plot area. How do I make the plot to automatically adjust to ...

### 2. How to plot closed shape, e.g. circle or square    jfree.org

Hello, Is there a way to plot a closed shape such as a circle or square in FreeChart? XYSeries series = new XYSeries("XY"); series.add(1, 1); series.add(1, 2); series.add(2, 2); series.add(2, 1); series.add(1, 1); For example, I tried to plot a simple square with the code above. This did not result in a square. Thank you

### 3. Plotting a circle by using an equation    jfree.org

I'm not familiar with Matlab code, so I can't help too much, but... JFreeChart doesn't have any mechanism to evaluate functions, it simply plots data. We have a simple function sampler in the DatasetUtilities class (see the sampleFunction2D() method) that will create a dataset containing sampled values from a function in the form y = f(x). But of course that won't ...

### 5. Drawing Circle Around Scatter Plot    jfree.org

Hello once again, I need to make a program which dynamicly draws a scatter plot at each second (discarding observations over 1min or so). Considering the X and Y axis to have a meter unit the circle will be used to surround the scatter plot, which I know from the start won't pass 1m. So, how can I integrate a 1m ...