DPlot Forum Index DPlot
http://www.dplot.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Suppress 0 labels in a bar chart

 
Post new topic   Reply to topic    DPlot Forum Index -> Suggestions/Questions
View previous topic :: View next topic  
Author Message
jsc



Joined: 02 Dec 2005
Posts: 222

PostPosted: Fri Oct 04, 2013 3:04 pm    Post subject: Suppress 0 labels in a bar chart Reply with quote

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.
Back to top
View user's profile Send private message
DPlotAdmin
Site Admin


Joined: 24 Jun 2003
Posts: 2310
Location: Vicksburg, Mississippi

PostPosted: Fri Oct 04, 2013 3:58 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Send e-mail Visit poster's website
jsc



Joined: 02 Dec 2005
Posts: 222

PostPosted: Sat Oct 05, 2013 9:01 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
DPlotAdmin
Site Admin


Joined: 24 Jun 2003
Posts: 2310
Location: Vicksburg, Mississippi

PostPosted: Sat Oct 05, 2013 9:18 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    DPlot Forum Index -> Suggestions/Questions All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group