Plotting x-y graphs on scaled grids to be like graph paper?

Have a suggestion for improving DPlot or a question about existing features? Let us know

Moderator: DPlotAdmin

Post Reply
sbruton
Posts: 3
Joined: Mon Mar 13, 2006 1:22 pm
Location: UK

Plotting x-y graphs on scaled grids to be like graph paper?

Post by sbruton »

Is it possible to plot algebraic or trigonometric x-y graphs where you can specify the grid intervals, as though you were drawing the graph on graph paper?
I would like to plot with a grid of 2mm width squares on A4 paper so that students could work out the gradient of the curve at various points.
Thanks
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post by DPlotAdmin »

Yes, though not directly. Select Options>Extents/Intervals/Size. Check "Specify extents" and enter the desired X and Y low and high values. Under "Tick Marks" select "Specify interval" and enter tick mark intervals for X and Y. The number of intervals will then be the extents divided by the tick mark interval. Now check "Specify size" and enter the physical width and height of the plot. If you want a 2mm interval... that's awfully small... it occurs to me that you're probably talking about minor grid lines between the numbers - we'll get to that. If you want a 20mm interval between major grid lines and you have 10 intervals on the X axis, enter 7.874 inches (200 mm) for the width of the plot. For your 2mm-spaced minor grid lines, enter 10 for the minor grid/tick divisions.
Visualize Your Data
support@dplot.com
sbruton
Posts: 3
Joined: Mon Mar 13, 2006 1:22 pm
Location: UK

Plotting x-y graphs on scaled grids to be like graph paper?

Post by sbruton »

Thanks for the prompt reply.

I can produce a really nice grid with the thicker intermediate lines, so thanks for that!

Do you know why, when I specify a width of 160mm it prints as 149mm wide and a height of 280mm it prints as 261mm?
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post by DPlotAdmin »

Do you know why, when I specify a width of 160mm it prints as 149mm wide and a height of 280mm it prints as 261mm?
It is probably a matter of those dimensions not fitting within the specified margins. If either dimension won't fit then DPlot scales down both dimensions, maintaining the same aspect ratio.

When you first install DPlot the margins on all four sides are set to 1 inch. See File>Page Setup.
Visualize Your Data
support@dplot.com
sbruton
Posts: 3
Joined: Mon Mar 13, 2006 1:22 pm
Location: UK

Post by sbruton »

That works much better. It still isn't an exact size but I can see how you can play around with the variables. :)

Thanks, you've been really helpful!
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post by DPlotAdmin »

Assuming the requested dimensions plus axis labels and numbers, titles, etc. will fit within the margins, it should be exact (+/- the inverse of your printer resolution). A 6" x 6" example I tried just now is... well, 6" x 6".
Visualize Your Data
support@dplot.com
Judith Stavriotis
Posts: 1
Joined: Tue Oct 27, 2009 2:48 pm

Post by Judith Stavriotis »

Dave - I have been looking for the Macro that allows you to print graphs on grids like graph paper with 10 x 10 grids to the inch. I had a copy and lost it over the Holidays. It was originally a Forum topic and now I can't find it. Appreciate your help. Judith Stavriotis (jstavriotis@spectrumassetmgt.com)
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post by DPlotAdmin »

Visualize Your Data
support@dplot.com
Post Reply