The Naked Scientists
  • Login
  • Register
  • Podcasts
      • The Naked Scientists
      • eLife
      • Naked Genetics
      • Naked Astronomy
      • In short
      • Naked Neuroscience
      • Ask! The Naked Scientists
      • Question of the Week
      • Archive
      • Video
      • SUBSCRIBE to our Podcasts
  • Articles
      • Science News
      • Features
      • Interviews
      • Answers to Science Questions
  • Get Naked
      • Donate
      • Do an Experiment
      • Science Forum
      • Ask a Question
  • About
      • Meet the team
      • Our Sponsors
      • Site Map
      • Contact us

User menu

  • Login
  • Register
  • Home
  • Help
  • Search
  • Tags
  • Member Map
  • Recent Topics
  • Login
  • Register
  1. Naked Science Forum
  2. Non Life Sciences
  3. Geek Speak
  4. Charting Application - Any Ideas
« previous next »
  • Print
Pages: [1]   Go Down

Charting Application - Any Ideas

  • 6 Replies
  • 4734 Views
  • 0 Tags

0 Members and 1 Guest are viewing this topic.

Offline imatfaal (OP)

  • Naked Science Forum King!
  • ******
  • 2782
  • Activity:
    0%
  • rouge moderator
    • View Profile
Charting Application - Any Ideas
« on: 30/06/2011 23:44:22 »
Anyone got a hint for a charting ap or add-on to excel?  I would like to be able to create a chart that works like, but not the same as a histogram - ie the width of each block corresponds to the duration of measurement and the height corresponds to the rate for that particular period and thus the area corresponds to the number of instances during the period.

I would love to know if there is an excel addon or a nice cludge for this.   I could do it with a graphics program but I would like to be able to generate the chart quickly.  Any ideas?

Thanks Matthew
Logged
There’s no sense in being precise when you don’t even know what you’re talking about.  John Von Neumann

At the surface, we may appear as intellects, helpful people, friendly staff or protectors of the interwebs. Deep down inside, we're all trolls. CaptainPanic @ sf.n
 



Offline CliffordK

  • Naked Science Forum King!
  • ******
  • 6408
  • Activity:
    0%
  • Thanked: 15 times
  • Site Moderator
    • View Profile
Charting Application - Any Ideas
« Reply #1 on: 01/07/2011 04:00:35 »
I assume you are looking for something like this:

http://www.slideshare.net/FordMotorCompany/diesel-forum-presentation

 [ Invalid Attachment ]


Although, this chart is actually only defining X (Particulates) and Z (NOx) with Y being the year.

I see this chart has different definitions of KW and HP.  Anyway, it seems to be "Odd" to make.

I think I can fudge a similar chart using OpenOffice Version 3.3, but it certainly doesn't seem to be very clean.  More notes in a few minutes.

* DieselEmissionStandards.png (125.62 kB, 555x399 - viewed 834 times.)
Logged
 

Offline CliffordK

  • Naked Science Forum King!
  • ******
  • 6408
  • Activity:
    0%
  • Thanked: 15 times
  • Site Moderator
    • View Profile
Charting Application - Any Ideas
« Reply #2 on: 01/07/2011 05:07:22 »
Ok,

I just threw this together using OpenCalc (OpenOffice 3.3) which is a free utility.  I use Linux, but it is also available for WinDoze.

 [ Invalid Attachment ]


Chart Type was:  Area - 3D - Realistic.
Data series in Rows
First Row as Label
First Column as Label

I had to create a separate column for every possible value on the X axis which was a pain.  I suppose I could do the same thing if I wanted to fatten the Y dimension, by adding more rows and messing with the colors, but it would also mess up the 3-D shadows.

Excel XP would do a similar chart.

The one tricky thing with OpenChart was that I had to click on a "data set" and change "Plot Missing Values" from "Assume Zero" to "Continue Line".  What that gave me was a nice square end (otherwise it would slope).

I assume Excel has that option, but I couldn't find it.

* FordDieselEmissionsCopy.gif (33.23 kB, 825x629 - viewed 827 times.)
Logged
 

Offline imatfaal (OP)

  • Naked Science Forum King!
  • ******
  • 2782
  • Activity:
    0%
  • rouge moderator
    • View Profile
Charting Application - Any Ideas
« Reply #3 on: 01/07/2011 10:01:12 »
That's fantastic Clifford - thanks for the effort.  That actually solves one of other problems perfectly. 

For the original question I will be more specific.  I would like to portray the earnings of the ships I commercially manage in an easily accessible way.  If, on a 2d graph, I have the date on the x-axis then the width of each coloured block will provide an indication of the voyage length in days.  Then on the y-axis I will have dollars per day earnings - thus thus height of each block will indicate the daily return for each voyage.  And of course the area of each block will indicate the net freight for each voyage. 

The 3-d blocks stacked from front to back in your great examples would not work - because I want the blocks stacked chronologically, and the last voyage could be the shortest and at the moment will definitely be the worst performance: ie it will be hidden!

Again thanks your efforts - will check out open-office because of this!
Logged
There’s no sense in being precise when you don’t even know what you’re talking about.  John Von Neumann

At the surface, we may appear as intellects, helpful people, friendly staff or protectors of the interwebs. Deep down inside, we're all trolls. CaptainPanic @ sf.n
 

Offline CliffordK

  • Naked Science Forum King!
  • ******
  • 6408
  • Activity:
    0%
  • Thanked: 15 times
  • Site Moderator
    • View Profile
Charting Application - Any Ideas
« Reply #4 on: 01/07/2011 10:18:25 »
Ok,

I haven't seen a note back to see if this is what you are looking for.  It is seriously hacked...  to get these 3-D bars   [xx(]
(having to create a column for each possible length of bar).

But,it does seem to work.

With Excel XP, I couldn't find the option "Continue Line".  I was able to get the vertical lines on the end by going to "Source Data", and setting the data range to only use those valid cells, and excluding the empty cells.

In XP, (and similarly in OpenOffice), by right clicking on each individual data series, and selecting format data series, I can set border to "none", and thus get rid of the lines across the top of the blocks.

Oh.
Looking back at your original request.
Were you wanting to do this in 2-D rather than 3-D?

I could do the same thing in 2-D.  However, I had to set all my bars the same color, and it looked much more funky because the bar spacing is non-uniform.

 [ Invalid Attachment ]

* ChartSample2.gif (12.68 kB, 585x444 - viewed 817 times.)
Logged
 



Offline CliffordK

  • Naked Science Forum King!
  • ******
  • 6408
  • Activity:
    0%
  • Thanked: 15 times
  • Site Moderator
    • View Profile
Charting Application - Any Ideas
« Reply #5 on: 01/07/2011 11:31:26 »
Ok,

As far as Excel vs OpenOffice.  I think they are similar.  They can do more or less the same things, but do it slightly differently.  I actually find Excel is slightly more intuitive, and slightly smoother.  But, I use OpenOffice because it is FREE, and I am trying to support Open Source, and dislike monopolies.

I tried it again.

 [ Invalid Attachment ]

This time I ended up with hollow bars.  Sorry, couldn't realistically get filled in bars.

It was a bit of a pain to set up.  But, it is much more stable this way.  And, if you don't add more bars too frequently, you could easily set up formulas to automatically fill the cells.  In the above graphs, the width of the bars was specified by the number of cells filled.

In this case.
Chart Type: XY Scatter.  I always choose connected lines, no markers.
Then I created 4 separate lines (blue, orange, yellow, green).

For the first bar
Duration 4
X values are C2 to C5
Y values are D2 to D5 (I now have it set so blanks are treated as zero, you may need to add zeros to cells D2 & D5).

For the second bar.
X values are C6 to C9 by adding 1 to first bar, then incrementing, in this case duration = 1.
Y values are D6 to D9

For the 3rd and 4th bars, I chose to do non integral widths (which I would not have been able to do with the previous methods).

My biggest problem is that I can never quite get my X-Axis labels to come out like I would like them.

Sometimes I just give up, and create a text box to hand-write my own X Axis.

Anyway, if you don't mind hollow boxes, and the cumbersome X Axis, this is very clean to write.

* ChartSample3a.gif (32.03 kB, 737x728 - viewed 777 times.)
Logged
 

Offline imatfaal (OP)

  • Naked Science Forum King!
  • ******
  • 2782
  • Activity:
    0%
  • rouge moderator
    • View Profile
Charting Application - Any Ideas
« Reply #6 on: 01/07/2011 12:03:47 »
Thats amazing - thanks all your work.  Will try it out   Matthew
Logged
There’s no sense in being precise when you don’t even know what you’re talking about.  John Von Neumann

At the surface, we may appear as intellects, helpful people, friendly staff or protectors of the interwebs. Deep down inside, we're all trolls. CaptainPanic @ sf.n
 



  • Print
Pages: [1]   Go Up
« previous next »
Tags:
 

Similar topics (5)

Are ideas about climate change driven by national politics rather than science?

Started by graham.dBoard The Environment

Replies: 38
Views: 16531
Last post 03/01/2010 21:09:29
by litespeed
Need for new PPE. Best home made mask ideas. Best reuse cleaning methods

Started by Jolly2Board COVID-19

Replies: 12
Views: 1060
Last post 03/04/2020 03:33:28
by Jolly2
I need a bright efficient light for a large room, any ideas?

Started by Karen W.Board Technology

Replies: 11
Views: 22451
Last post 22/01/2008 04:06:29
by Karen W.
trying to design and implement a tracking system using bluetooth, any ideas?

Started by savyonBoard Technology

Replies: 15
Views: 8137
Last post 22/10/2010 19:31:56
by maffsolo
Are Graham Hancock's ideas about ancient civilisations credible?

Started by XanthanGumBoard Geology, Palaeontology & Archaeology

Replies: 1
Views: 2456
Last post 27/07/2016 04:26:56
by JimBob
There was an error while thanking
Thanking...
  • SMF 2.0.15 | SMF © 2017, Simple Machines
    Privacy Policy
    SMFAds for Free Forums
  • Naked Science Forum ©

Page created in 0.108 seconds with 49 queries.

  • Podcasts
  • Articles
  • Get Naked
  • About
  • Contact us
  • Advertise
  • Privacy Policy
  • Subscribe to newsletter
  • We love feedback

Follow us

cambridge_logo_footer.png

©The Naked Scientists® 2000–2017 | The Naked Scientists® and Naked Science® are registered trademarks created by Dr Chris Smith. Information presented on this website is the opinion of the individual contributors and does not reflect the general views of the administrators, editors, moderators, sponsors, Cambridge University or the public at large.