Converting 2D plots to 3D plots - java-2d

I have been working on some charts (like line chart, histogram, bar chart, pie chart, scattergram, radar chart, candle chart etc.) made in Java2D. I need to convert these charts into 3D charts without using Java3D API.
Is there any technique or algorithm available through which I may convert my 2D charts into 3D charts?
Or is anyone aware of any third party API (free or paid) available which can meet my requirement?
Any help or solution will be highly appreciable.
Thanks.

When you mention that you are creating plots and charts in Java2D, that implies that you are either creating these plots from scratch using your own coding or using ready made libraries such as jplot2d http://code.google.com/p/jplot2d/ or http://geosoft.no/graphics/. In either case, nothing will "convert" your Java2D charts to 3D charts. jzy3d jzy3d.org/ or TeeChart http://www.steema.com/teechart/java might do the job but will require to recode using their own APIs. Note that for pie charts and line charts, there is no point other than improving the look to go 3D. Only 3D data such as surfaces or contour plots need 3D.

Orson Charts is a 3D chart library for Java that renders using just the Java2D API. It's written by the author of JFreeChart (me), but it is not free - you can download an evaluation copy to try it out though.

You might have a look at Jzy3d.
It is free, open source, and easy to use.
There are tutorials to learn how to draw surface and scatter plots.

Related

How to interact with a plot/figure in Julia

I'm (ultra) new to Julia and I'm trying to figure out how to interact with a plot. To be more specific, currently I use Pyplot do display different kinds of data (in one instance I just plot multiple curves via plot() and in the other I plot the values of a 2d array as heatmaps via imshow()).
I want to be able to click on these images and handle the clicking as event in the code. Upon searching I only find old posts that say "this is currently not featured".
Does anyone have suggestions on where to look/ what to do?
Thanks in advance.

Matplotlib plot a series of interactve plots one plot at a time

I'm trying to plot a series of plots one plot at a time. When a plot is displayed I want to be able to interact with it (i.e. zoom, pan, etc.) and wait until I'm done before the next plot is displayed.
I saw the post matplotlib plot and then wait for raw input, but I couldn't get it to work.
I'm using Spyder and Python 3.4.
Below is the code snippet of what I'd like to do. However the plots seem to get blocked by the waiting for input.
for i in range(4):
plt.figure()
plt.plot([x for x in range(100)],'x')
plt.show(block=False)
a=input('next plot')
If you are looking for interactive plots in Python, you might want to take a look at the Charts library. It enables you to use the excellent Highcharts javascript library to make beautiful and interactive plots. Highcharts uses the HTML svg tag so all your charts are actually vector images.
Some features:
Vector plots which you can download in .png, .jpg and .svg formats so you will never run into resolution problems
Interactive charts (zoom, slide, hover over points, ...)
Usable in an IPython notebook
Explore hundreds of data structures at the same time using the asynchronous plotting capabilities.
Disclaimer: I'm the developer of the library
I believe this is resolved in the recent matplotlib v.2.0.0 release. At least it resolved this problem for me.

How to make 3D pie chart in pentaho CDE?And where is the location of xml to edit its properties?

I want to make 3Dpie chart in Pentaho.
In several forums they said that what we want is to add is-3D parameter to XML. But I don't know where chartData.xml is.
No, it is not possible to make 3D pie chart. CCC (Community Chart Components charting library which is used by Pentaho CDE) does not support 3D chart effects.
Check an answer at the bottom of this Pentaho forum archive from the CCC developer.

Would it be possible to subclass a Chart in VBA?

Would it be possible to "subclass" a Chart in Excel to create a modified version of it?
My wish is for an Improved Bubble/XY Chart in Excel. With the native chart, I can create charts of varying X, Y and Bubble Size, such as:
In a recent project, I wanted to classify these bubbles into groups A and B based on some given criteria, and using different colors was the solution I found. I also wanted to label each bubble on a per-row basis. I had to use a simple VBA Macro to color the bubbles and add labels dynamically, but the end result was quite nice:
In the end, I was left wondering. My programming experience is mostly in Python, so naturally I though of subclassing the regular Chart to allow for a more user friendly experience, such as customizable colors, categories and being able to pick labels from a Range. Is that possible in VBA?
Most of the tips for VBA subclassing that I have found online refer to using the Windows API and subclassing UserForms, but that is not exactly what I want.

Viewing graph in PDF

How can I show a bar graph or a pie chart in PDF? Is there any way to do this with Zend_PDF class? Please help me.
The Zend_Pdf component is a PDF (Portable Document Format) manipulation engine. It can load, create, modify and save documents.
It's a lower level module and just includes
Different drawing primitives (lines, rectangles, polygons, circles, ellipses and sectors).
No charts. At this sitepoint article you'll find a couple of php/pdf examples. An alternative would be to generate charts in a different library and then just use Zend_Pdf to assemble the document.
Some neat non-php charting libraries:
http://nubyonrails.com/pages/gruff
http://prawn.majesticseacreature.com/
http://lovelight.co.nz/blog/2009/01/integrating-google-charts-into-a-prawn-pdf/
http://code.enthought.com/chaco/