tecplot入门Word文档下载推荐.docx
《tecplot入门Word文档下载推荐.docx》由会员分享,可在线阅读,更多相关《tecplot入门Word文档下载推荐.docx(15页珍藏版)》请在冰豆网上搜索。
Ifyouwanttoturnofftheframeheader,pullthe"
Frame"
menudownto"
EditCurrentFrame..."
.Awindowwillpopup.Clickontheboxnextto"
ShowHeader"
.Toseethechangetotakeeffect,clickthe"
Close"
button.
Theframebordercanbeturnedoffinasimilarmanner.Whendone,press"
ReadinginaDataFile
Toreadinadatafile,pullthe"
File"
LoadDataFile(s)..."
.Awindowwillpopup.Note:
Thefilterissettoshowonlyfileswithextension"
plt"
.Toseeallfiles,delete"
.plt"
fromthefilterandclickon"
Filter"
.
Tecplotcanreadseveraltypesoffiles.Todoso,tecplotwillrunpreplotonthefileselected.
WorkingwithFrames
Toresizeaframe,clickonthearrowbuttoninthetoolpallateontheleftsideofthescreen,clickontheboundaryofframe,Resizehandleswillappearontheframeasshowninthefollowingfigure.
Usingtheleftmousebutton,draganytheseresizehandles.
Tomoveaframe,choosethearrowbuttoninthetoolpallateclickontheboundaryoftheframethatyouwanttomove.Nowmovethecursortotheedgeoftheframe,butnotonaresizehandle.Thecursorwillchangetoacross.Whilethecursorisacross,usetheleftmousebuttontomovetheframe.
Aframemaybecopied.Tocopyaframe,clickontheboundaryoftheframethatyouwanttocopy,pulldownthe"
Edit"
menuto"
Copy"
thenpulldownthe"
Paste"
.Thenewframeisplacedrightontopoftheoldframe.Nowmovethenewframetothenewposition.Thiscopiesthedataandallsettingstothenewframe.Asshowninthefollowingfigure,eitherframecanbemodified.
TecplotGraphs
TwoDimensionalGraphs
Tecplotisveryflexiblewhendrawinggraphs.Itcandothefollowing,theoneswithlinksarediscussedinthisdocument.
∙BasicXYPlots
∙Assignavariabletoanaxis
∙Changethelengthandscaleoftheaxes
∙Plotmultipledatasets.
∙Plotmultiplegraphs,multipleaxis
∙Scatterplots,withchoiceofsymbols.
∙3Dgraphs
Todrawagraphusingtecplot,justreadinyouronedimensionaldata.Thegraphwillappearsimilartotheoneshownbelow.
Therearemanythingsthatyoucandowiththegraph.Clickonthe"
MappingStyle..."
button.Ifyoudon'
tseethe"
button,doubleclickonthegraph.Whenyouclickonthe"
Mappingstyle..."
button,youwillseethefollowing.
Fromthismenu,youcancontrolhowthegraphisplotted.Thevariousfeaturesarebrokendownbycategory:
"
Definitions"
"
Lines"
Curves"
"
Symbols"
....Toselectthecategory,clickontheappropriatebutton.Thecategories,definitions,linesandsymbolsarediscusedbelow.
∙Definitions:
Youcanassignavariabletothex-axisandtothey-axis.Toassignavariabletothey-axis,justclickon"
Y-AxisVariable"
.Awindowwillpopup.Choosethevariablethatyoutousefortheverticalaxis.Thex-axisishandledinasimilarmanner.
∙Lines:
Selectthe"
categorytosetlinecolor,linewidth,linestyle(Solid,dotted,dashed,...),linecolorandmore.Justpointandclick.
∙Symbols(ScatterPlots):
Toshowasymbol(square,circle)atthedatapoints,clickontheboxnextto"
intheupperleftcornerofthetecplotwindow.Ifyoujustwanttoseesymbols-nolineconnectingthepoints-unselectthe"
intheupperleftcorner.Inthe"
Mappingstyle"
window,clickon"
.Youshouldseethefollowing.
Fromhere,youcanselectthesymbolshape,outlinecolor,fillcolor,sizeandspacing.Justclickontheappropriatebutton.Tocontrolthespacing,clickon"
SymbSpacing"
andthenclickon"
Iskip=2"
Iskip=3"
or"
Iskip=4"
whichwilldrawthesymbolateverysecond,thirdorfourthpointrespectively.Ifthisisstilltoomany.Usethe"
EnterIndex..."
optiontomanuallyenteraskipvalue.
ControllingtheAxis.
Toadjusttheaxes,includingtickmarks,labels,andlength,pullthe"
Axis"
menudownfrom"
Plot"
menu.Youwillseethefollowing
Acrossthetop,isalistofaxesthatyoucandisplayandmodify.Selectthedesiredaxis.Intheabovethe"
X1"
axisisselected.Amodificationoccursonlyontheselectedaxis.
Hereeverythingbutrangeiseasytouse,justremember"
Labels"
meansthenumbersthatappearnexttothetickmarks,and"
Title"
meansthenameofthevariable.
Therangeoptioncanbeconfusing.
∙Ifoneoftheaxisistoolong,youcanchangetherange.Thereareseveralthingstosetbeforeyouchangetherange.Unselect"
PreserveLengthwhenChangingRange"
andselect"
Independent"
∙Ifyouwanttochangetherangetozoomin,select"
Dependent"
.Youmayhavetoenteraratiotodeterminethescaleoftheaxis.
∙Youcanalsochangethescalebyselectingthearrowfromthetoolspalette,clickingonanaxis,thendraggingaresizehandle(ablacksquare)tochangethesizeoftheplot.Note:
Thischangesthescaleofallaxes.
Preservingthelengthkeepstheaxisthesamelength,thescalechanges.
Whenthingsgowrong,pulldownthe"
View"
DataFit"
.Tecplotwilldoitsbesttofitthedatatotheframe.
PlottingMultipleDataSets
Tecplotcanplotmultipledatasets.Theeasiestwaytoplotmultipledatasetsistocreateafilecontainingallthedataset,eachdatasetisazoneinthefile.Inthe"
window,youcanturnonandoffvariouszones.Justclickonthedesiredzone(thatis,clickonthelinethatarelistedbymapnumber),orclickanddragtochoosemultiplezones,thenclickonthe"
MapShow"
button.Youcanthenactivateordeactivatetheselectedzone(s).
Youcanalsoplotmultipledatasetsthatareindifferentfiles.Theeasiestwaytodothisistoreadallthedatasetsinatonce.
∙Pullthe"
.Youwillseethefollowingwindow.
∙Clickon"
MultipleFiles"
.Thiswindowwillchange.Enterthenameofeachofthefilethatyouwanttoreadin.Betweeneachfileeitherpressthereturnkeyorclickonthe"
Add"
button.Whenallfileshavebeenselected,press"
OK"
∙Thefirstfilewillbeplotted.Toplottheotherfiles,clickon"
"
Selectthedesireddataset-eachdatasetisassignedamapnumbercorrespondingtheorderthatyouselectedthedatafiles-byclickingonthelinecontainingthedesiredmaporbyclickinganddraggingtoselectmultiplemaps.Nowclickonthe"
buttonandactivateordeactivate.
∙Youmayhavetopullthe"
ViewMenu"
downto"
toviewallthedatasets.
MultipleGraphsMultipleAxes
Youcanshowmultipleaxiswhenyouhavemultipledatasets.
Inthe"
window,select"
.Nowclickon"
WhichY-Axis"
andselecttheappropriateaxis.That'
sit.Youcanmodifythenewaxisbypullingdownthe"
menufrom"
andselectingtheappropriateaxis
ThreeDimensionalGraphs
Tecplotcandrawthreedimensionalgraphs.Readinyourdata,thenclickonthe"
3Dcartesian"
fromthepulldownmenuintheupperleftcornerofthetecplotwindow,thenredraw.Aswith2Dgraphs,youcanmodifywiththeaxislabels,majorandminorgridmarks,gridbackground.Todoso,pulldownthe"
.Clickonthedesiredbuttonandenterthedesiredsettingsforeachaxis.
TecplotContours
Contoursin2Dimensions
First,turnthemeshoff,byclickingontheboxnextto"
Mesh"
.Nowclickontheboxnexttocontour"
Contour"
Modificationsonthecontourplotinclude:
thenumberoflevels,color,atableandshading.
Toaddcolortothecontourplot,clickon"
Zonestyle..."
.Thefollowingwindowwillappear.
Pullthe"
ContourType"
andclick"
.Hereisanexample.(Wewillsoonseehowtoaddthetable.)
Youcanfillinthecontourplotwithcolorsasshowninthefollowingfigure.
Todothis,youwillneedthe"
windowshownpreviouslyonthispage.Pulldownthe"
Co