PyTecplot Link Between Frames

In the release of PyTecplot 1.0, Frame Linking has been implemented in the API. Frame Linking allows users to quickly link attributes of frames together like position, 3D view, and solution time. To link the view simply implement the following commands on both frames: for frame in tp.frames(): plot = frame.plot(PlotType.Cartesian3D) plot.activate() frame_linking = plot.linking_between_frames frame_linking.group = 1 frame_linking.link_view = True frame_linking.link_solution_time = True This allows all of the frames […]

» Read More


Using Data Skip to Approximate and Render a Large Dataset

Question: I am running out of memory rendering my fine-mesh data. How do I read-in a smaller, decimated version of my ordered dataset into my layout? More details: If you are working on a computer with limited resources, some processes can surpass the available computer memory. If you are unable to add more RAM, this can cause Tecplot to slow or, at worst, crash. Try this solution if some actions […]

» Read More


Changing a Contour Legend Variable Name

Question: How do I change the name of a variable in the contour legend box? See Figure 1. Solution: Renaming a contour variable requires altering the variable name in the Data Set Information dialog box: 1) In Tecplot 360, go to Data>Data Set Info… (see Figure 2). 2) Double-click the name of the variable displayed in the contour legend and replace it with the desired name. Voilà, the contour legend […]

» Read More


Error Undefined symbol: FT_Done_MM_Var

Problem: I receive the following error when running Tecplot on Linux platforms: /tec360-bin: symbol lookup error: /lib64/libfontconfig.so.1: undefined symbol: FT_Done_MM_Var Solution: This issue typically happens on newer versions of Linux. To fix this, delete libfreetype.so.6 from the Tecplot ../bin directory.


Fix Contour Labels Location

Problem: When exporting a picture, the location of the contour labels changes: Solution: By default the image is rendered off-screen and implies a re-draw of the plot. There are two possible solutions:   1) Prevent the re-positioning of the labels when a redraw occurs: In the Contour Details dialog, in the Labels tab, toggle Generate automatic labels (with each withdraw) off.   2) Prevent the redrawing by using the on-screen […]

» Read More


How to Show Invisible Frame Borders

Problem: I have multiple frames on the paper and I don’t want frame borders in my export. So I’ve turned off the option Show border in the dialog Frame>Edit Active Frame. At the same time I’d like to see an outline for all invisible frame borders to get a better idea how these frames are positioned and overlap on the page in the 360 EX session. This outline should not […]

» Read More


How to Reset the Light Source Position

Problem: I have changed the position of the light source interactively using the mouse. There’s no UI option to reset the light source to its original position. How can I do this? Solution: Use a macro command to reset the light source position: #!MC 1410 $!GLOBALTHREED LIGHTSOURCE { XYZDIRECTION { X = -0.2 Y = -0.2 Z = 0.959 } }


Customize the Color Palette

Problem: I want to change the default colors of the palette. Solution: Call a macro at Tecplot’s startup to overwrite the default colors in the palette.   To do so: Edit the tecplot.cfg file in Tecplot’s installation directory and include a set of $!BASICCOLOR macro commands to change the palette. In the palette, each color placeholder is referd to as CUSTOM#, where # is the placeholder number in the palette. […]

» Read More


Creating a GIF from a Sequence of PNGs

Question: When I use FFmpeg1 to convert a bunch of pngs to a GIF, it produces an ugly GIF (see the example script below and Figure 1). How do you use FFmpeg to convert a series of .png images to a high quality GIF in Windows? Example script (creates an ugly GIF):  ffmpeg.exe -r 20 -i HighQual_%6d.png -s:v 2152×1914 -f GIF ffmpeg_HighQual.gif     Solution: Both FFmpeg and ImageMagick2 convert can […]

» Read More


Calculating the Volume of an Iso-Surface

Question: How do I calculate the volume of a completely enclosed iso-surface? Solution: The volume of an iso-surface (no holes in it) may be calculated using 360’s data calculation, alteration and integration features by following these steps: A)   First, create a zone from your iso-surface: Display the iso-surface of choice by going to the side panel and clicking the Iso-Surfaces Details… button. Activate only one iso-surface group and ensure that […]

» Read More