Suppress 0 labels in a bar chart

Have a suggestion for improving DPlot or a question about existing features? Let us know

Moderator: DPlotAdmin

Post Reply
jsc
Posts: 222
Joined: Fri Dec 02, 2005 8:56 am

Suppress 0 labels in a bar chart

Post by jsc »

I just pasted a 1-D list of dates representing a failed part's build week into a blank window in DPlot. A date for every failed part. Then I asked DPlot to do a histogram with a 7 day interval. I got a bar chart and it looks correct, properly spread out over 3 years of production. But I would like to label the bars that are >0 but not label the "0's". Is there some option or trick (that I can't remember!) that I'm missing to turn off the 0's?

I did just tried using "operate on Y" and using a formula like "if(Y<1,-10,Y)". Then I set the extents from 0 to the positive Y limit. The "0's" were gone. Guess that will work for now.
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post by DPlotAdmin »

There's no way to turn those labels off. But since you don't seem to mind editing the Y values I'd guess you wouldn't mind just getting rid of them, too. See "Clip Y" on the Edit menu.
Visualize Your Data
support@dplot.com
jsc
Posts: 222
Joined: Fri Dec 02, 2005 8:56 am

Post by jsc »

I was thinking of doing that, and after I did, I got a bar chart that I don't quite know what's going on. Aside from my inability to fully comprehend the bar width and group width relationship, the bars on the right side of the plot aren't showing where I think they should show. I'll send an email with the screen shot.
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post by DPlotAdmin »

You should have received my e-mail reply by now, but just in case:

The 100% bar width is determined by the difference in X between the first two points. If you want a smaller width, insert a Y=0 value after the first point at whatever bar width you want.

The right side of your plot is correct - it's just that you have the bar width set to 75% and the bar is centered between the given X and that X plus the 100% bar width - in your case almost 3 months.
Visualize Your Data
support@dplot.com
Post Reply