log in | register | forums
Show:
Go:
Forums
Username:

Password:

User accounts
Register new account
Forgot password
Forum stats
List of members
Search the forums

Advanced search
Recent discussions
- Elsear brings super-fast Networking to Risc PC/A7000/A7000+ (News:)
- Latest hardware upgrade from RISCOSbits (News:)
- RISC OS London Show Report 2024 (News:1)
- Announcing the TIB 2024 Advent Calendar (News:1)
- Code GCC produces that makes you cry #12684 (Prog:39)
- RISCOSbits releases a new laptop solution (News:)
- Rougol November 2024 meeting on monday (News:)
- Drag'n'Drop 14i1 edition reviewed (News:)
- WROCC November 2024 talk o...ay - Andrew Rawnsley (ROD) (News:2)
- October 2024 News Summary (News:3)
Latest postings RSS Feeds
RSS 2.0 | 1.0 | 0.9
Atom 0.3
Misc RDF | CDF
 
View on Mastodon
@www.iconbar.com@rss-parrot.net
Site Search
 
Article archives
Acorn Arcade forums: Programming: Drawing graphs on RISC OS using g++ and Qt
 
  Drawing graphs on RISC OS using g++ and Qt
  Cauchy (00:28 17/3/2011)
  nunfetishist (09:46 17/3/2011)
    Cauchy (15:44 17/3/2011)
      nunfetishist (18:32 17/3/2011)
  Bucksboy (09:54 17/3/2011)
    Cauchy (15:48 17/3/2011)
      Bucksboy (18:13 17/3/2011)
  arawnsley (19:24 17/3/2011)
    Cauchy (22:21 17/3/2011)
 
John O'Meara Message #116923, posted by Cauchy at 00:28, 17/3/2011
Member
Posts: 43
Does anyone know if it is possible to use g++ and Qt on an iyonix to draw graphs? I am thinking of buying a book on Qt and C++ to see if I can draw various graphs of say an n-body problem, but I am wondering if the RISC OS platform is capable of using C++ and Qt to draw or will I have to use BASIC for such programs that require drawing and not get the book on Qt. Thanks for the advice.
  ^[ Log in to reply ]
 
Rob Kendrick Message #116924, posted by nunfetishist at 09:46, 17/3/2011, in reply to message #116923
nunfetishist
Today's phish is trout a la creme.

Posts: 524
You can have G++, it's part of GCCSDK. Compilation performance on an RISC OS box will be disappointing.

As for Qt, I doubt anybody has ported it. Probably for a combination of reasons: nobody's bothered yet, and it's a bucket of hateful bile smile
  ^[ Log in to reply ]
 
George Greenfield Message #116925, posted by Bucksboy at 09:54, 17/3/2011, in reply to message #116923
Member
Posts: 91
Presumably you have considered and ruled-out GraphDraw http://www.chris-johnson.org/software/ which does indeed work on the Iyonix?
  ^[ Log in to reply ]
 
John O'Meara Message #116926, posted by Cauchy at 15:44, 17/3/2011, in reply to message #116924
Member
Posts: 43
Thanks for replying, I only heard of Qt reasonly on another forum and so I don't know much about it, but I thought that it might be a handy way of drawing with C++ on the RISC OS. If it is as complicated as you say, I will keep away from it, as it would only waste my time learning it.

G++, I have it, and all I'll say is that it is slow to compile programs.
  ^[ Log in to reply ]
 
John O'Meara Message #116927, posted by Cauchy at 15:48, 17/3/2011, in reply to message #116925
Member
Posts: 43
thanks for replying and the link; no I have not heard of GraphDraw. Would it be able to draw data compiled using G++ or is it a self-contained programming language.
  ^[ Log in to reply ]
 
George Greenfield Message #116928, posted by Bucksboy at 18:13, 17/3/2011, in reply to message #116927
Member
Posts: 91
... GraphDraw. Would it be able to draw data compiled using G++ or is it a self-contained programming language.
No, it's an app that allows the entry of X-axis and Y-axis numerical data and offers a choice of graphing methods to apply to the data (e.g. least squares fit, parabola, polynomial, cubic spline). The resulting graph can be saved as a Draw or Multiplot http://www.bulldog.u-net.com/software/multiplot.html file. Probably the only way to find out if these apps will do what you need is to download them...
  ^[ Log in to reply ]
 
Rob Kendrick Message #116929, posted by nunfetishist at 18:32, 17/3/2011, in reply to message #116926
nunfetishist
Today's phish is trout a la creme.

Posts: 524
G++, I have it, and all I'll say is that it is slow to compile programs.
I think you'll find that's your CPU and OS. G++ is not famed for being fast, but it's not slow, either.
  ^[ Log in to reply ]
 
Andrew Rawnsley Message #116930, posted by arawnsley at 19:24, 17/3/2011, in reply to message #116923
R-Comp chap
Posts: 600
I'd also recommend checking out Joe Taylor's (I think) DrawBasic. Although I've not used it personally, it provides extensive drawfile handling extensions to BASIC, allowing you to plot your results directly to drawfiles, rather than being limited to screen plotting. If you're planning on generating report-quality diagrams at the end of the process, I suspect that would provide a major time saving.

DrawBasic may also be called DrawScript.

There also seems to be something called DrawGen by Jim Lesurf. Actually, it might well be more appropriate since it seems to have a C veneer.

OK, found some URLs...

http://www3.mistral.co.uk/joe_taylor/drawscript/

http://jcgl.orpheusweb.co.uk/DrawGen/dgen.html
  ^[ Log in to reply ]
 
John O'Meara Message #116932, posted by Cauchy at 22:21, 17/3/2011, in reply to message #116930
Member
Posts: 43
Thanks very much for the two links. It looks like DrawGen is the type of application I was looking for. It seems alot easier than Qt, which may not even ported to the RISC OS.
  ^[ Log in to reply ]
 

Acorn Arcade forums: Programming: Drawing graphs on RISC OS using g++ and Qt