Results 1 to 10 of 10

Thread: error bars on vertical bar chart

  1. #1
    Join Date
    Oct 2005
    Beans
    258

    error bars on vertical bar chart

    I want to plot a graph with my numerical data represented by vertical bars, with each bar having its own separate (different) standard error, both gnumeric and oO calc will plot this type of graph but only allow you to put a constant error amount on each bar (my error is different for each bar), in I've also tried RLplot and qtiplot but without success so far.

    Incidentally I cannot get gnumeric (whose plotting features I like) to put axes names in -is this just me I've looked at the help pages online, but still cannot see anyway of doing it. Using gnumeric and oO calc feisty versions RLplot and Qtplot latest version.

    Ta. Neil

  2. #2
    Join Date
    Jun 2006
    Beans
    27

    Re: error bars on vertical bar chart

    Try gnuplot. It's CLI program, but it can be very handy like in scripting. I like it a lot. Maybe this will help:
    http://t16web.lanl.gov/Kawano/gnuplo...o/style-e.html

  3. #3
    Join Date
    Oct 2005
    Beans
    258

    Re: error bars on vertical bar chart

    Thanks, but I really don't want to work at the command line.

  4. #4
    Join Date
    Dec 2006
    Beans
    678

    Re: error bars on vertical bar chart

    Quote Originally Posted by hollowhead View Post
    I want to plot a graph with my numerical data represented by vertical bars, with each bar having its own separate (different) standard error, both gnumeric and oO calc will plot this type of graph but only allow you to put a constant error amount on each bar (my error is different for each bar), in I've also tried RLplot and qtiplot but without success so far.

    Incidentally I cannot get gnumeric (whose plotting features I like) to put axes names in -is this just me I've looked at the help pages online, but still cannot see anyway of doing it. Using gnumeric and oO calc feisty versions RLplot and Qtplot latest version.

    Ta. Neil
    Gnumeric will do this, at least with XY plots (the only type I ever use): Just click on X or Y errors for the series of interest, choose Absolute, and provide it with the range(s) of cells containing the error values.

    I'm not sure what you mean about "axes names."

  5. #5
    Join Date
    Oct 2005
    Beans
    258

    Re: error bars on vertical bar chart

    Thanks for your reply "tweedledee", yes it does but it seems to put the same SEM value in for every column. I tried it my first column has a value of about 21 with an SEM of 2.1. My first column had this value which is correct but it put his SEM for the next column in the chart which had a different SEM, you could see in fact every column in the graph had the same sized error bars. Also I can find no way to label the axis, this seems to be missing from gnumeric although it did manage to import an xy chart from excel with them in.

  6. #6
    Join Date
    Aug 2006
    Location
    Tampa, FL
    Beans
    390

    Re: error bars on vertical bar chart

    To put axis labels on graphs, right click on your graph and select Properties. This will bring up the "Customize Graph" dialog. In the scrolling selection window in the upper left, scroll down and select the axis you would like to put a label on. Click on the 'Add' button beneath the selection window: this will bring up a drop-down list. Select 'Label' from the list, and either type the axis label into the dialog box, or use the navigation button to choose the cell containing your desired axis name.

    hope this helps.

    EDIT: I have attached a sample histogram that shows both axis labels as well as error bars. Just right-click on the graph and select "Properties" to see how it is set up.
    Attached Files Attached Files
    Last edited by machoo02; September 28th, 2007 at 03:34 PM.

  7. #7
    Join Date
    Dec 2004
    Location
    Manchester
    Beans
    2,086
    Distro
    Ubuntu Mate 15.10 Wily Werewolf

    Re: error bars on vertical bar chart

    you could try labplot http://labplot.sourceforge.net/

    it is in the repos.

  8. #8
    Join Date
    Dec 2006
    Beans
    678

    Re: error bars on vertical bar chart

    Quote Originally Posted by hollowhead View Post
    Thanks for your reply "tweedledee", yes it does but it seems to put the same SEM value in for every column. I tried it my first column has a value of about 21 with an SEM of 2.1. My first column had this value which is correct but it put his SEM for the next column in the chart which had a different SEM, you could see in fact every column in the graph had the same sized error bars. Also I can find no way to label the axis, this seems to be missing from gnumeric although it did manage to import an xy chart from excel with them in.
    Are you providing an entire range for the error bars or just a single value? I get the expected behavior (different error bars for each data point) as long as I provide a matching column of data. I only can see what you are describing if I select a single cell as the error value. The abiility to have different error values for each point is why I use Gnumeric as much as OO Calc.

  9. #9
    Join Date
    Oct 2005
    Beans
    258

    Re: error bars on vertical bar chart

    Thanks machoo02 your instructions worked perfectly I pasted your "data" into a new sheet and followed your instructions-what you showed is exactly what I want , thanks everyone else for your help and suggestions. Neil.

  10. #10
    Join Date
    Aug 2006
    Location
    Tampa, FL
    Beans
    390

    Re: error bars on vertical bar chart

    Quote Originally Posted by hollowhead View Post
    Thanks machoo02 your instructions worked perfectly I pasted your "data" into a new sheet and followed your instructions-what you showed is exactly what I want , thanks everyone else for your help and suggestions. Neil.
    No problem...glad I could help!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •