From: Jan on 3 May 2010 15:47 Hi, i want to let matlab generate graph paper, with an one milimeter scale, in which i wanna plot some functions. getting the grind isn't a problem but, the scale i get when i wanna print the figure is not true. I need 1cm = 1 unit in y and x. Can someone help me to get it work, here is the script i've done yet: hold on axis square set(gcf, 'PaperUnits', 'centimeters') xlabel('x-achse') xlabel('y-achse') for ind=-90:90; ind=ind+1; x = [ind/10 ind/10] y = [-9 9] line(x,y) end ..for ind=-90:90; ind=ind+1; x = [-9 9] y = [ind/10 ind/10] line(x,y) end Thank you for your help.
From: Nicholas Kinar on 3 May 2010 16:05 On 10-05-03 1:47 PM, Jan wrote: > Hi, > > i want to let matlab generate graph paper, with an one milimeter scale, > in which i wanna plot some functions. > > getting the grind isn't a problem but, the scale i get when i wanna > print the figure is not true. > I need 1cm = 1 unit in y and x. > > Can someone help me to get it work, here is the script i've done yet: > > hold on > axis square > set(gcf, 'PaperUnits', 'centimeters') > xlabel('x-achse') > xlabel('y-achse') > for ind=-90:90; ind=ind+1; > x = [ind/10 ind/10] > y = [-9 9] > line(x,y) > end > > .for ind=-90:90; ind=ind+1; > x = [-9 9] > y = [ind/10 ind/10] > line(x,y) > end > > Thank you for your help. You may have to adjust the units on your printer. In the Figure window created after running your program, choose File -> Print Preview, and select the radio button "Auto (Actual Size, Centered)." Then ensure that Units=centimeters. If this doesn't work, then perhaps these links would be of interest: Creating graph paper using Matlab: http://www.swarthmore.edu/NatSci/echeeve1/Ref/LPSA/Bode/BodePaper.html There's also computer programs to create graph paper: http://www.graphtablet.com/graphtablet.html http://www.blackcatsystems.com/software/graph_paper_maker.html http://www.ehow.com/how_5255173_customize-own-graph-paper-openoffice.html http://sourceforge.net/projects/papermill/ http://www.classbrain.com/artteensb/publish/create_custom_graph_paper.shtml http://www.ehow.com/how_4507000_make-graph-paper-using-incompetechcom.html
|
Pages: 1 Prev: Generate graph paper Next: Plotting Functions - Logarithmic Decrement |