- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello again everybody,
I need further help with my VF Console Application.
My task is to create an image file.
The user entered values should be printed to a diagram for checking and documentation issues.
I have no idea to do that!
Thanks to everybody for helping in advance
I need further help with my VF Console Application.
My task is to create an image file.
The user entered values should be printed to a diagram for checking and documentation issues.
I have no idea to do that!
Thanks to everybody for helping in advance
Link Copied
6 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Natively Fortran does support neither drawing of any kind nor exporting bitmaps. What you want to achieve and how depends on your operating system. Your best bet is search for a grafix library and use it for both the drawing and the exporting.
Alternatively you could dump the data and use any other tool that has a batch mode for the visualization (tecplot, gnuplot). They will create the plots for you and offer a variety of options for exporting.
Generate the necessary scripts for these programs from your fortran application and call them via the system command. Doing it like that is almost any time much easier.
Alternatively you could dump the data and use any other tool that has a batch mode for the visualization (tecplot, gnuplot). They will create the plots for you and offer a variety of options for exporting.
Generate the necessary scripts for these programs from your fortran application and call them via the system command. Doing it like that is almost any time much easier.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You need to give a lot more information. Like, how do you envisage creating your image? what does your image consist of? A Drawing, a graph, text, both?
Since you have VF, you could try vreating a QuickWin project which should quickly allow you to draw to a QuickWin window. Saveimage function allows you to easily save a window as a bitmap.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I want to draw a Haigh diagram (if you are familiar with fatigue things)
Its only a couple of lines with some text for the axis
What would i have to change for a QuickWin program?
What are the differences to a console application?
Thanks
Its only a couple of lines with some text for the axis
What would i have to change for a QuickWin program?
What are the differences to a console application?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
As far as I know, nothing forbid using GDI functions on a memory DC in a console application.
So, create a bitmap and a memory DC and associate the bitmap to the DC.
Draw your graphs using GDI functions and finally write the bitmap in a file.
So, create a bitmap and a memory DC and associate the bitmap to the DC.
Draw your graphs using GDI functions and finally write the bitmap in a file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
... Or look at, and use,the sample program Scigragh whichfollows CVF.
Sabalan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page