- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The Scigraph graph-plotting package has been very useful to me (and I expect to others) for some years. Its drawback is that it only works in QuickWin applications.
I have developed XSciGraph by replacing the QuickWin functions in SciGraph with Jugoslavs XEffort functions; XSciGraph works in both QuickWin and Win32 applications. When some bugshave beenremoved and it is verified to replicate SciGraph,I would like to lodge it in an appropriate site for universal access. Jugoslav is, I know, currently too busy to be able to do much to help in installing it on his site. Scigraph was, I think, originally developed by Digital: are their inheritors Intel interested in this?
The primary problem that I have with XSciGraph is getting it to display correctly in its Windows. For example, in the QuickWin program whose source code is attached in XSGQW081125.zip, which should produce the same results as the SGDemo program, the first window sometimes appears as black. Subsequent windows need maximising to flush the graphs to display. XSGQW copies the method in Jugoslavs QW_XFT example to bind an X_Window. Dont forget to install the XEffort library.
If anyone can help me with getting the windows to display correctly it would be greatly appreciated.
Bear of Little Brain
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Bother! Where did my attachment go? I thought that I had at last cracked the rather user-unfriendly "Add Files" facility. Obviously not. Any ideas?
Bear
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Click on Add Files
If you have not previously created a file folder here, fill in a new folder name and click Create Folder
Click on the name of the folder you just created
Click the Browse button to browse for the file, click Upload
Click on the name of the file you uploaded
Optional: edit the Title field
Click Add as Attachment
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Steve,
Many thanks - I have recorded your reply so that I will know better next time. Not a blindingly obvious sequence of instructions, however!
The attachment XSGQW081125.zip should now be attached.
Bear
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I agree that the steps are not obvious - it took me several tries to figure it out. We've asked for directions to be added.
QuickWin and SciGraph was actually developed by Microsoft. I think we can provide a repository for the files, even if it's only attachments to a forum post here. I'll have to leave it to someone else to help you with the code issues, though.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Steve,
Thanks I may take you up on the offer when it is working.
I have solved my black screen problem I neglected to repaint the window at the end of plotting: calls of XUpdateWindow(xWndPlt) in the appropriate places have cured it.
My next problem is that each graph overwrites the previous one in a single child window I havnt yet figured out how to get the series of child windows produced by SGDemo. The method that I use from Jugoslavs QW_XFT starts with getting the screen handle using
hWndPlot = GethWndQQ(0)
Nothing else that I have tried seems to work in QuickWin and by repeating the call I naturally get the graphs overwriting.
I am attempting to attach an .exe file XSGQW.bear to demonstrate this. If it gets though to the forum, rename it to XSGQW.exe and run.
Bear of Little Brain
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
SGDEMO creates multiple windows.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, but that's in a pure QuickWin program. I have removed all of the QuickWin functions from all but the initial calling section. Replacing the QuickWin functions by Jugoslav's XEffort functions as in the QW_XFT example is what causes my problem.
I think that itneeds someone who has used XEffort a bit to help with this one - is there anyone out there?
Bear

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page