Search found 14 matches

by Jane
Mon Aug 31, 2009 7:29 pm
Forum: JFreeChart
Topic: non-linear colorbar
Replies: 5
Views: 4692

Re: non-linear colorbar

Perhaps, one way to do this is 1. Re-assign values to my dataset For example, set anything less than -20 to 1; set values between -5 and -3 to 2; ..... 2. Make the contour plot 3. Make the colorbar with PaintScaleLegend(); 4. Somehow erase the tickmark labels for the colorbar 5. Label the tickmarks ...
by Jane
Fri Aug 28, 2009 5:48 pm
Forum: JFreeChart
Topic: non-linear colorbar
Replies: 5
Views: 4692

Re: non-linear colorbar

Hello Paradoxoff, First of all, thank you very much for your interest. Yes, I did use the LookupPaintScale. I set most of the colors to the range within +-20. The range outside was assigned to only a few colors. The plot looks ok, but the ticks on the colorbar are evenly spaced out. Therefore, large...
by Jane
Thu Aug 27, 2009 12:20 pm
Forum: JFreeChart
Topic: non-linear colorbar
Replies: 5
Views: 4692

Re: non-linear colorbar

No. That's because I have both positive and negative values. About 5% of values are between -155 and -20, 3% between +20 and +25, and the rest are in between -20 and +20.
by Jane
Tue Aug 25, 2009 5:05 pm
Forum: JFreeChart
Topic: non-linear colorbar
Replies: 5
Views: 4692

non-linear colorbar

Hello, I'm using MyBlockRenderer and XYPlot to make contour plots. The problem I have is that the values of the data are not uniformly distributed. For example, I may have less than 5% of extreme values that are way larger or smaller than the others. Consequently, when I use the PaintScaleLegend to ...
by Jane
Tue Jul 28, 2009 4:35 pm
Forum: JFreeChart
Topic: contour plot with irregular grid
Replies: 1
Views: 3019

contour plot with irregular grid

Hello,

I'm using XYPlot and XYBlockRenderer to draw contour plots. It worked fine until I had a dataset defined on an irregular gird.
What are the options for me?

Thanks in advance,

Jane
by Jane
Thu Mar 05, 2009 5:42 pm
Forum: JFreeChart
Topic: axis label
Replies: 1
Views: 2158

axis label

Hello, I made a combined range XYPlot. Everything thing looks fine except that the last x-axis label for subplot1 overlaps with the 1st x-axis label for subplot2. Is it possible for me to get rid off one label? Or is there a way to put extra spaces between the two subplots so that the labels won't o...
by Jane
Mon Oct 06, 2008 1:44 pm
Forum: JFreeChart
Topic: port number in address
Replies: 1
Views: 2293

port number in address

Hello, I was doing plots with Jfrrechart using Tomcat as web server. Everything was fine until I installed Apache and then integrated the Apache and Tomcat. After the integration, when I clicked on a certain link to created a plot, there would be no plot and no error messages. Then I realized that i...
by Jane
Fri Aug 29, 2008 6:35 pm
Forum: JFreeChart
Topic: Dash line
Replies: 1
Views: 2692

Dash line

Hello,

How do I draw a dash line?

Thanks in advance!

Jane
by Jane
Wed Jul 09, 2008 4:13 pm
Forum: JFreeChart
Topic: How to reverse y axis?
Replies: 1
Views: 2229

How to reverse y axis?

Hello,

I need to reverse my y axis (i.e. I need to have larger value at the lower part
of the plot). I tried to do the following:

presAxis.setRange(1050.,0.);

It didn't work. What should I do?

Thanks,
Jane
by Jane
Fri Jun 27, 2008 6:13 pm
Forum: JFreeChart
Topic: subscript & superscript
Replies: 3
Views: 5896

Thank you very much.

Jane
by Jane
Thu Jun 26, 2008 3:11 pm
Forum: JFreeChart
Topic: Problem with XYLineChart
Replies: 4
Views: 4248

Thanks a lot. It worked. :)
by Jane
Thu Jun 26, 2008 2:50 pm
Forum: JFreeChart
Topic: Problem with XYLineChart
Replies: 4
Views: 4248

Thank you very much for your reply.

I am very new here. I looked around in the guide and was only able to find
getDomainOrder with the interface XYDataset on page 809. Could you PLEASE give me
an example showing how to disable the sorting?

Thanks in advance.

Jane
by Jane
Wed Jun 25, 2008 7:40 pm
Forum: JFreeChart
Topic: subscript & superscript
Replies: 3
Views: 5896

subscript & superscript

Hello,

Is it possible to have subscripts, superscripts and Greek letters when I label the
x and y axes?

Thanks,

Jane
by Jane
Wed Jun 25, 2008 7:23 pm
Forum: JFreeChart
Topic: Problem with XYLineChart
Replies: 4
Views: 4248

Problem with XYLineChart

It seems to me that when the XYLineChart was used to create plots, the data was
sorted with increasing X values. I need to plot in a sequence of increasing Y values.
How do I achieve that?

Thanks,

Jane