Home » Community » Newbie corner » How do I make this graph?
Re: How do I make this graph? [message #39890 is a reply to message #39889] |
Thu, 09 May 2013 14:36   |
 |
koldo
Messages: 3432 Registered: August 2008
|
Senior Veteran |
|
|
Hello Jerson
As I understand user goes adding new unsorted points. Every time the user does it you call Sort() and scatter.Refresh(). Only added points are drawn. To sort the Vector you can do this:
struct SortPointf {
bool operator () (const Pointf& a, const Pointf& b) const {
return a.x < b.x
}
};
....
Sort(series, SortPointf());
Best regards
IƱaki
[Updated on: Thu, 09 May 2013 14:37] Report message to a moderator
|
|
|
 |
|
How do I make this graph?
By: jerson on Sat, 04 May 2013 09:51
|
 |
|
Re: How do I make this graph?
By: Didier on Sat, 04 May 2013 15:22
|
 |
|
Re: How do I make this graph?
By: Didier on Sat, 04 May 2013 15:26
|
 |
|
Re: How do I make this graph?
By: jerson on Sat, 04 May 2013 16:53
|
 |
|
Re: How do I make this graph?
By: koldo on Sun, 05 May 2013 15:57
|
 |
|
Re: How do I make this graph?
By: jerson on Sun, 05 May 2013 17:07
|
 |
|
Re: How do I make this graph?
By: jerson on Sun, 05 May 2013 18:42
|
 |
|
Re: How do I make this graph?
By: koldo on Sun, 05 May 2013 19:02
|
 |
|
Re: How do I make this graph?
By: jerson on Mon, 06 May 2013 09:32
|
 |
|
Re: How do I make this graph?
By: koldo on Mon, 06 May 2013 10:11
|
 |
|
Re: How do I make this graph?
By: jerson on Mon, 06 May 2013 11:40
|
 |
|
Re: How do I make this graph?
By: koldo on Mon, 06 May 2013 12:07
|
 |
|
Re: How do I make this graph?
By: jerson on Thu, 09 May 2013 08:19
|
 |
|
Re: How do I make this graph?
By: koldo on Thu, 09 May 2013 11:04
|
 |
|
Re: How do I make this graph?
By: jerson on Thu, 09 May 2013 12:15
|
 |
|
Re: How do I make this graph?
By: jerson on Thu, 09 May 2013 14:07
|
 |
|
Re: How do I make this graph?
By: koldo on Thu, 09 May 2013 14:36
|
 |
|
Re: How do I make this graph?
By: jerson on Thu, 09 May 2013 15:46
|
 |
|
Re: How do I make this graph?
By: koldo on Thu, 09 May 2013 16:03
|
 |
|
Re: How do I make this graph?
By: jerson on Fri, 10 May 2013 06:48
|
 |
|
Re: How do I make this graph?
By: koldo on Fri, 10 May 2013 08:01
|
Goto Forum:
Current Time: Sun Apr 27 18:42:37 CEST 2025
Total time taken to generate the page: 0.00574 seconds
|