Author |
Message |
Topic: Reconciling font etc. sizes between display and saved files |
rkm
Replies: 19
Views: 123221
|
Forum: C, C++, C# Posted: Fri Dec 20, 2013 1:06 pm Subject: Reconciling font etc. sizes between display and saved files |
While trying to put together a more compact and coherent spec for what I need to do, how I've tried to accomplish, and the problems, I've come to the conclusion that there may be two separate problems ... |
Topic: Reconciling font etc. sizes between display and saved files |
rkm
Replies: 19
Views: 123221
|
Forum: C, C++, C# Posted: Mon Dec 16, 2013 9:08 am Subject: Reconciling font etc. sizes between display and saved files |
David,
I'll try to put together a more compact and coherent spec for what I need to do and how I've tried to accomplish it. - with competing tasks it may take a day or so before it's completed.
... |
Topic: Reconciling font etc. sizes between display and saved files |
rkm
Replies: 19
Views: 123221
|
Forum: C, C++, C# Posted: Sat Dec 14, 2013 3:15 pm Subject: Reconciling font etc. sizes between display and saved files |
That's correct except for the "default" bit - which makes it sound like a limitation.
I certainly didn't mean to imply it was a limitation. Rather that DPlot does an excellent job generat ... |
Topic: Reconciling font etc. sizes between display and saved files |
rkm
Replies: 19
Views: 123221
|
Forum: C, C++, C# Posted: Sat Dec 14, 2013 1:47 pm Subject: Reconciling font etc. sizes between display and saved files |
After a few days off to deal with other crises I'm back to this one. Unfortunately I was overly optimistic. The problem has not gone away, and the dimension and pixels per inch tweaking has become a m ... |
Topic: Reconciling font etc. sizes between display and saved files |
rkm
Replies: 19
Views: 123221
|
Forum: C, C++, C# Posted: Thu Dec 05, 2013 3:34 pm Subject: Reconciling font etc. sizes between display and saved files |
Again many thanks. Your examples were a great help. My fried brain had lead me to misuse the Size() command; correct use does indeed appear to be the solution. Font choice now seems good. Any remainin ... |
Topic: Reconciling font etc. sizes between display and saved files |
rkm
Replies: 19
Views: 123221
|
Forum: C, C++, C# Posted: Thu Dec 05, 2013 12:22 pm Subject: Reconciling font etc. sizes between display and saved files |
The problem is, I really have no interest in the "printed" plots other than as an efficient vehicle to pass a plot file from the server, which uses DPlot Jr to generate it, to the client tha ... |
Topic: Reconciling font etc. sizes between display and saved files |
rkm
Replies: 19
Views: 123221
|
Forum: C, C++, C# Posted: Wed Dec 04, 2013 11:06 pm Subject: Reconciling font etc. sizes between display and saved files |
There's no way to do both. If the bitmap dimensions have a different aspect ratio than your display, then what should the bitmap font sizes be based on? The plot width or height or something else?
... |
Topic: Reconciling font etc. sizes between display and saved files |
rkm
Replies: 19
Views: 123221
|
Forum: C, C++, C# Posted: Wed Dec 04, 2013 5:17 pm Subject: Reconciling font etc. sizes between display and saved files |
Many thanks. Actually I'm always impressed by the promptitude of your replies.
There's no way to do both. If the bitmap dimensions have a different aspect ratio than your display, then what should ... |
Topic: Reconciling font etc. sizes between display and saved files |
rkm
Replies: 19
Views: 123221
|
Forum: C, C++, C# Posted: Wed Dec 04, 2013 9:22 am Subject: Reconciling font etc. sizes between display and saved files |
I don't see how Size(state,X,Y,WYSIWYG) can meet my requirements.
My objective is to let DPlot automatically calculate the size of a plot such that it fills as much of the document window as pos ... |
Topic: Reconciling font etc. sizes between display and saved files |
rkm
Replies: 19
Views: 123221
|
Forum: C, C++, C# Posted: Sun Dec 01, 2013 7:57 am Subject: Reconciling font etc. sizes between display and saved files |
Is the Size(width,height) command in addition to the SetPluginImageDims(width,height) I'm using elsewhere to set the pixel dimensions of the plot written to file?
Does DPlot assume a standard pixel ... |
Topic: Reconciling font etc. sizes between display and saved files |
rkm
Replies: 19
Views: 123221
|
Forum: C, C++, C# Posted: Sat Nov 30, 2013 4:06 pm Subject: Reconciling font etc. sizes between display and saved files |
Using DPlot Jr, in one application I'm creating a plot with the option of writing it to an image file from which it can be loaded by another application. Depending on the plot, it can be written as ei ... |
Topic: specifying the dimensions of output image file |
rkm
Replies: 16
Views: 99770
|
Forum: C, C++, C# Posted: Thu Nov 14, 2013 10:29 pm Subject: specifying the dimensions of output image file |
Problem found! It was an obscure failure to initialize an index that pointed to formats and format strings in a table. I plan to learn to write bug-free code in some future life. Anyway, the result wa ... |
Topic: specifying the dimensions of output image file |
rkm
Replies: 16
Views: 99770
|
Forum: C, C++, C# Posted: Thu Nov 14, 2013 4:35 pm Subject: specifying the dimensions of output image file |
OK, whatever the problem is, is it's pretty obscure. I'll keep experimenting at this end to see what I can find. |
Topic: specifying the dimensions of output image file |
rkm
Replies: 16
Views: 99770
|
Forum: C, C++, C# Posted: Thu Nov 14, 2013 12:35 pm Subject: specifying the dimensions of output image file |
As mentioned in my separate email, I'm suspecting the problem may be in the module that writes the PNG, perhaps FREEIMAGE.DLL or at least the version distributed with DPlot.
As you mentioned, the ... |
Topic: specifying the dimensions of output image file |
rkm
Replies: 16
Views: 99770
|
Forum: C, C++, C# Posted: Thu Nov 14, 2013 1:49 am Subject: specifying the dimensions of output image file |
OK I'll email you a grf and a png, of the same image, supposed to be 475x525.
In addition to the dimensions problem with the png you can see that some of the vertical lines, that appear correctly i ... |
Topic: specifying the dimensions of output image file |
rkm
Replies: 16
Views: 99770
|
Forum: C, C++, C# Posted: Wed Nov 13, 2013 9:02 pm Subject: specifying the dimensions of output image file |
I tried [SetPluginImageDims(475,525,24,0,0)] -it made no difference.
There's no saved DPlot file, I'm using DPlot Jr. and DDE
Am I correct in assuming that the SetPluginImageDims() should come ... |
Topic: specifying the dimensions of output image file |
rkm
Replies: 16
Views: 99770
|
Forum: C, C++, C# Posted: Wed Nov 13, 2013 1:31 pm Subject: specifying the dimensions of output image file |
Thanks for the prompt reply.
I tried the function but it does not seem to be performing as I expected:
I started by sending the DPlot_Command to set the image dimensions
[SetPluginImageDims(47 ... |
Topic: specifying the dimensions of output image file |
rkm
Replies: 16
Views: 99770
|
Forum: C, C++, C# Posted: Tue Nov 12, 2013 11:50 pm Subject: specifying the dimensions of output image file |
I failed to mention I need to do this from DPlot Jr. |
Topic: specifying the dimensions of output image file |
rkm
Replies: 16
Views: 99770
|
Forum: C, C++, C# Posted: Tue Nov 12, 2013 5:51 pm Subject: specifying the dimensions of output image file |
In one application I'm creating a plot and writing it to an image file from which it can be loaded by another application. I want to specify the dimensions in pixels of the output image file to be cer ... |
Topic: ContourScales bug? |
rkm
Replies: 2
Views: 13348
|
Forum: Bug Reports Posted: Thu Jan 24, 2013 9:47 pm Subject: ContourScales bug? |
I have a contour plot analogous to, and borrowed heavily from, case 13 in CTEST.C. The one peculiarity of my plot is that the y-axis values represent depth in the earth so they, and the axis annotatio ... |
Topic: Conversion from data space to plot size ratio? |
rkm
Replies: 2
Views: 26004
|
Forum: C, C++, C# Posted: Mon Jan 14, 2013 10:00 am Subject: Conversion from data space to plot size ratio? |
Thanks, I'll do that. Was just wondering if there was I macro I might have missed.
-rob |
Topic: Conversion from data space to plot size ratio? |
rkm
Replies: 2
Views: 26004
|
Forum: C, C++, C# Posted: Sun Jan 13, 2013 12:42 pm Subject: Conversion from data space to plot size ratio? |
Is there a macro or other simple means to convert from data space to plot size ratios?
I'd like to use TextNoteEx() with the X value expressed in data space coordinates but the Y value expressed i ... |
Topic: DATA_3D RefLine() equivalent? |
rkm
Replies: 1
Views: 22842
|
Forum: C, C++, C# Posted: Wed Jan 02, 2013 3:48 pm Subject: DATA_3D RefLine() equivalent? |
Is there any way to add the equivalent of a [RefLine()] (x=constant) to a DATA_3D plot? I'll only be viewing it from directly above (parallel to the z axis) with no rotation.
Obviously I could in ... |
Topic: What function fills DPLOT_PLOTMETRICS structure? |
rkm
Replies: 3
Views: 28845
|
Forum: C, C++, C# Posted: Mon Dec 17, 2012 4:39 pm Subject: What function fills DPLOT_PLOTMETRICS structure? |
Thanks. At least I know I'm looking in the right place.
The structure is static.
DPlot_SetErrorMethod(2) is being used and does not report any error.
DPlot_GetBitmapEx() is returning what appea ... |
Topic: What function fills DPLOT_PLOTMETRICS structure? |
rkm
Replies: 3
Views: 28845
|
Forum: C, C++, C# Posted: Mon Dec 17, 2012 12:14 pm Subject: What function fills DPLOT_PLOTMETRICS structure? |
I have been using DPLOTLIB.LIB to create a dialog box to display a variety of plots from a data set. The dialog is based on CTEST2.C and during most of the development has been successfully handling t ... |
Topic: Anyone have experience with DPlot and Open Watcom C/C++? |
rkm
Replies: 2
Views: 26622
|
Forum: C, C++, C# Posted: Wed Nov 21, 2012 4:54 pm Subject: Anyone have experience with DPlot and Open Watcom C/C++? |
Actually it seems to be working remarkably well. I am however having a problem with ctest4 where I (properly) get the message:
Error! E1011: Symbol 'PSD_INTHOUSANDTHSOFINCHES' has not been declared ... |
Topic: Anyone have experience with DPlot and Open Watcom C/C++? |
rkm
Replies: 2
Views: 26622
|
Forum: C, C++, C# Posted: Wed Nov 21, 2012 11:24 am Subject: Anyone have experience with DPlot and Open Watcom C/C++? |
I'm a newbie to DPlot and am looking for instructions on how to interface to OW 1.9
Thanks in advance for any suggestions.
-rob |
|