A new tab on the ride analysis view for analysing ride data in three
dimensions. Interval selection is supported and a z-axis slider is
available for helping to identify data in the z-plane.
Coloring and Z axis values are averages for associated values of x/y.
The code requires qwtplot3d to be installed (see gcconfig.pri.in) and
with older Mac dev envs you will need to add -lz to LIBS too. (LIBS += -lz).
On Linux qwt3d_function.h needs a #include <stdio.h> added to compile.
Greg Steele helped design and test.
Oh, also - When you install qwtplot3d change the CONFIG to build
static libs since the src.pro setup assumes static libraries.
--
_______________________________________________
Golden-Cheetah-Users mailing list
golden-che...@googlegroups.com
http://groups.google.com/group/golden-cheetah-users?hl=en
> Why don't GC use the "normal" qwt as installed in each distro?
Because the qwt that is distributed with GC has had a multiple axis
patch applied to it. As standard qwt does not support multiple x or y
axis and scales. Ultimately, it is only devs that notice this anyway.
> Now with 3D modeling it will be another special build not using a standard
> distro package.
For developers, yes it will be an extra dependency before build.
That's a one off setup and hopefully not a big issue for most devs?
(And worth it for the new feature it brings?). For end-users its a non-
issue since they will download a staticly built binary.
> Just curious ;-)
Sure.
Good stuff :-)
I got this to compile (and link dynamically) on Ubuntu 9.10 by doing
the following:
# sudo apt-get install libqwtplot3d-qt4 libqwtplot3d-qt4-dev
Add this to gcconfig.pri:
QWT3D_INSTALL = /usr/include/qwtplot3d-qt4
Modify src.pro:
robb@irwin:~/Projects/GoldenCheetah/src$ git diff
diff --git a/src/src.pro b/src/src.pro
index 53caf3d..9db4929 100644
--- a/src/src.pro
+++ b/src/src.pro
@@ -25,8 +25,8 @@ LIBS += -lm
}
!isEmpty( QWT3D_INSTALL) {
- INCLUDEPATH += $${QWT3D_INSTALL}/include
- LIBS += $${QWT3D_INSTALL}/lib/libqwtplot3d.a
+ INCLUDEPATH += $${QWT3D_INSTALL}
+ LIBS += /usr/lib/libqwtplot3d-qt4.so
}
macx {
Regards,
Robb
I've also added a color legend, which was easy once I'd read the source
(open source projects are great aren't they?).
So also attached (my last contribution to this thread before Justin
KILLS me) is a patch that applies cleanly to head and has the same
functionality as the previous one but including that legend.
I'm going into my cave now to write the internet racing client. See you
in 2010. :-)
Cheers,
Mark
Mark
--
_______________________________________________
Golden-Cheetah-Users mailing list
golden-che...@googlegroups.com
http://groups.google.com/group/golden-cheetah-users?hl=en
As I told Mark before he did this, I am not even sure what to do with these plot yet...
I was intrigued by them when I first found them in PowerCoach >$1000), but excel doesn't really like making them, and until I found R a little bit ago, I really wasn't able to make them.
I do think there is information to be gleaned from these plots, but learning how to read them is important.
I aslo think that they may be more useful to a coach who did not perform the ride versus an athlete who did.
None the less, the implementation far exceeds my expectation!
g
> http://groups.google.com/group/golden-cheetah-users?hl=en<0001-3D-Modelling.patch>
This is because of the layout of the controls in MainWindow.cpp, there
is simply too much stuff on that first line. If the controls were
spread over three lines it would make the widget more 'resizable'.
I would look into this, but I'm knee deep in a widget for racing...
and I keep getting distracted from the stuff I'm doing with Justin.
It should be EASY to fix, just reorganise the controls in there.
In fact, it would be nice to put all the 'instant' settings on one
line (grid/frame/legend/chart style) and separate them from the ones
that need a replot (bin, x/y/z/color/ignore zero).
I doubt I'll get back to this any time soon. To understand why I'm
trying to avoid this and to understand me a little better .... watch
this http://www.youtube.com/watch?v=4P785j15Tzk
Mark
Attached a patch which reorganises modelwindow to use less screen real
estate (see screenshot). I based it on the latest patch from Sean (i
just adjusted ModelWindow.cpp).
Regards,
Mark
Sean
--
I might have to re-install my cadence sensor as I don't think my PT's
cadence guesses are going to cut it for what I want to look at.
Its not just power x cadence x time. You can model any available data,
so distance x heartrate x power or speed x altitude x time etc etc
Still don't know if there is anything useful to be gained from this,
but hey, it looks good in screenshots ;-)
Regards,
Mark
Do you do either smoothing or binning?
Was there a particular option you think would be useful?
I'm desperate for this chart to show something useful! (Can you tell?)
Regards,
Mark
On Jan 2, 2:15 am, Mark Liversedge <liverse...@gmail.com> wrote:
> Binning, but its the same bin size for x and y which is annoying (I
> will fix this soon!). The Z-axis and Colors are averages (would be
> nice to have a peak/min/rolling avg too).
>
> Was there a particular option you think would be useful?
>
> I'm desperate for this chart to show something useful! (Can you tell?)
Well, I sometimes think if you build it they will come.
That said, I often have some difficulty with 3-D surfaces unless
they're sufficiently smoothed. Sometimes I find co-plots to be a bit
easier to interpret.
As Greg Steele alluded to previously in this thread, Paul Koechli's
PowerCoach software has long relied heavily on 3D graphs. However, as
I told people at the first power-based training conference back in
2001 (and illustrated with an example) I don't really see much need
for/usefulness to such plots. If you're interested in understanding
what impact events had/will have on your physiology (versus simply
describing what you did), the only really logical (and commonly
measured) 3rd variables to plot against any other two are 1) time and
2) heart rate. In general, though, you can ascertain the relationship
of these factors to others without resorting to the complexity of a 3D
surface plot or histogram (as Robert mentioned).
Just my $0.02.
Andy Coggan