home *** CD-ROM | disk | FTP | other *** search
Wrap
(*^ ::[paletteColors = 128; fontset = title, "Helvetica", 24, L1, bold, nohscroll; fontset = subtitle, "Helvetica", 10, L1, italic, nohscroll; fontset = subsubtitle, "Helvetica", 10, L1, nohscroll; fontset = section, "Helvetica", 18, L1, bold, nohscroll; fontset = subsection, "Helvetica", 14, L1, bold, nohscroll; fontset = subsubsection, "Times", 14, L1, bold, nohscroll, blackBox; fontset = text, "Times", 12, L1, nohscroll; fontset = smalltext, "Times", 10, L1, nohscroll; fontset = input, "Courier", 10, L1, nowordwrap; fontset = output, "Courier", 10, L2, nowordwrap; fontset = message, "Helvetica", 10, L1, nowordwrap; fontset = print, "Helvetica", 10, L1, nowordwrap; fontset = info, "Helvetica", 10, L1, nowordwrap; fontset = postscript, "Helvetica", 10, L1, nowordwrap; fontset = name, "Helvetica", 9, L1, italic, nohscroll; fontset = header, "Helvetica", 10, L1, nohscroll; fontset = footer, "Helvetica", 10, L1, nohscroll; fontset = help, "Helvetica", 10, L1, nohscroll; fontset = clipboard, "Helvetica", 10, L1, nohscroll; fontset = completions, "Helvetica", 10, L1, nohscroll; fontset = network, "Courier", 10, L2, nowordwrap; fontset = graphlabel, "Courier", 12, L2, nowordwrap; fontset = special1, "Helvetica", 18, L1, bold, nohscroll; fontset = special2, "Helvetica", 14, L1, bold, nohscroll; fontset = special3, "Times", 14, L1, bold, nohscroll, blackBox; fontset = special4, "Helvetica", 10, L1, nohscroll; fontset = special5, "Helvetica", 10, L1, nohscroll;] :[font = title; inactive; ] Logarithmic Graph Paper :[font = subtitle; inactive; ] Shawn C. Sheridan :[font = subsubtitle; inactive; ] Wolfram Research, Inc. 100 Tradecenter Drive Champaign, IL 61820 :[font = subsection; inactive; startGroup; ] FancyGrid :[font = text; inactive; ] FancyGrid takes two lists (or an optional third) as arguments. The first list is the set of x-gridline positions, the second list is the set of y-gridline positions, and the optional third list consists of line attributes to be applied to the gridlines. FancyGrid is useful if you need to specify gridlines that are not equally spaced. :[font = input; endGroup; noPageBreak; ] FancyGrid[xlist_,ylist_,optlist_:{}]:= Graphics[Flatten[{optlist, Apply[Line, Transpose[{Outer[List,{Max[xlist]},ylist], Outer[List,{Min[xlist]},ylist]},{3,2,1}],{1}], Apply[Line, Transpose[{Outer[List,xlist,{Max[ylist]}], Outer[List,xlist,{Min[ylist]}]},{3,1,2}],{1}]}]] :[font = subsection; inactive; ] Example :[font = input; ] logtable=N[Union[Flatten[ Table[Log[10,i*10^j],{j,0,2}, {i,10}]]]]; :[font = input; ] thegrid=Show[FancyGrid[{0, 1, 2, 3, 4, 5}, logtable,{ Thickness[.0001] }]]; :[font = input; ] thegraph=Plot[4^(Log[10,x]),{x,.01,5}]; :[font = subsection; inactive; noPageBreak; ] Plot of 4^x on Log Paper :[font = input; startGroup; noPageBreak; ] Show[thegrid,thegraph,PlotRange->All,Ticks->{{1,2,3,4,5}, {{1,HoldForm[10^1]},{2,HoldForm[10^2]},{3, HoldForm[10^3]}}}]; :[font = postscript; inactive; PICT; pictureID = 21665; output; endGroup; pictureWidth = 282; pictureHeight = 174; noPageBreak; ] ^*)