comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Error Bar Thoughts
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Error Bar Thoughts [message #74759] Wed, 02 February 2011 11:51 Go to next message
Matt[2] is currently offline  Matt[2]
Messages: 69
Registered: March 2007
Member
On Feb 2, 12:44 pm, Gray <grayliketheco...@gmail.com> wrote:
> David, here's my suggestion.  All of these formats are equally valid
> and are easily converted between.  Pick a style and then let the user
> pass their data in the right way.


I second this motion. And I'd prefer actual values rather than
offsets, but it's an easy enough operation to be able to figure out.


Cheers
Matt
Re: Error Bar Thoughts [message #74760 is a reply to message #74759] Wed, 02 February 2011 11:44 Go to previous messageGo to next message
Gray is currently offline  Gray
Messages: 253
Registered: February 2010
Senior Member
On Feb 2, 1:32 pm, David Fanning <n...@dfanning.com> wrote:
> David Fanning writes:
>> As an offset from the data point?
>
>>    data = 5
>>    errlow = 0.1
>>    errhigh = 0.2
>
> OK, if errors are passed in as "deltas" from the data point
> are they always passed in as *positive* deltas, as I show above,
> or is the low error passed in as a *negative* value. Is it
> ever the case that the data point does NOT fall between
> the high and low error? Is there a convention?
>
> Cheers,
>
> David
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.idlcoyote.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")

David, here's my suggestion. All of these formats are equally valid
and are easily converted between. Pick a style and then let the user
pass their data in the right way.
Re: Error Bar Thoughts [message #74761 is a reply to message #74760] Wed, 02 February 2011 11:43 Go to previous messageGo to next message
Gray is currently offline  Gray
Messages: 253
Registered: February 2010
Senior Member
On Feb 2, 12:51 pm, David Fanning <n...@dfanning.com> wrote:
> David Fanning writes:
>> Since I am parallelized in uncertainty
>
> I think my spell checker turned this into a more interesting
> thought than I had intended. :-)
>
> Cheers,
>
> David
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.idlcoyote.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")

Wow, so what happened was you split into several parallel instances
that each went on to write the program in a different way? Awesome.
Re: Error Bar Thoughts [message #74765 is a reply to message #74761] Wed, 02 February 2011 10:32 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
David Fanning writes:

> As an offset from the data point?
>
> data = 5
> errlow = 0.1
> errhigh = 0.2

OK, if errors are passed in as "deltas" from the data point
are they always passed in as *positive* deltas, as I show above,
or is the low error passed in as a *negative* value. Is it
ever the case that the data point does NOT fall between
the high and low error? Is there a convention?

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: Error Bar Thoughts [message #74766 is a reply to message #74765] Wed, 02 February 2011 10:15 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Robin Wilson writes:

> I have used error bars a number of times in plots (from various
> languages) and I'd love to have the option to use either of the formats
> that you gave. Obviously one could be calculated from the other, but it
> just makes it easier if you can just give whatever you've got to the
> routine.

You know, I just recalled the first rule of software development:
Don't ever ask the end-user what they want. They want *everything*!

You would have thought I had been hanging around software
companies long enough to know that. :-(

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: Error Bar Thoughts [message #74767 is a reply to message #74766] Wed, 02 February 2011 10:05 Go to previous messageGo to next message
Robin Wilson is currently offline  Robin Wilson
Messages: 40
Registered: August 2010
Member
Hi David,

I have used error bars a number of times in plots (from various
languages) and I'd love to have the option to use either of the formats
that you gave. Obviously one could be calculated from the other, but it
just makes it easier if you can just give whatever you've got to the
routine.

Just my personal opinion of course,

Robin

On 02/02/2011 17:51, David Fanning wrote:
> David Fanning writes:
>
>> Since I am parallelized in uncertainty
>
> I think my spell checker turned this into a more interesting
> thought than I had intended. :-)
>
> Cheers,
>
> David
>
>
>
Re: Error Bar Thoughts [message #74768 is a reply to message #74767] Wed, 02 February 2011 09:51 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
David Fanning writes:

> Since I am parallelized in uncertainty

I think my spell checker turned this into a more interesting
thought than I had intended. :-)

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: Error Bar Thoughts [message #74858 is a reply to message #74759] Wed, 02 February 2011 12:14 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Matt writes:

> I second this motion. And I'd prefer actual values rather than
> offsets, but it's an easy enough operation to be able to figure out.

Yeah, actual data makes sense to me, too. And it means
I don't have to fool around too much with philosophical
discussions about whether up is down or visa versa. Plus,
it's easy enough it might even happen in the next hour
or two. :-)

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Linking raster and vector
Next Topic: ENVi ROI

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:17:23 PDT 2025

Total time taken to generate the page: 0.00676 seconds