Return to home pageGo to previous document on same levelGo to next document on same levelMove up one levelGo to sitemapmailto:dpwolfer@swissonline.ch

Lesson 2 - Setting time windows and zooming

Wintrack case documents contain the data of all trials recorded with a particular animal. However, you may wish not to view them all at the same time, but rather to zoom in on a range of trials which are of particular interest.

Zooming in on a range of trials...

  1. Make sure, SWIM1.WTR is still open. If it is not, select Open Case Document from the File menu to open it again.
  2. Let us zoom in on trials 19 and 21 which are the first trials after moving the goal to a new location. Place the mouse over trial view 19 and click the left mouse button. The frame of the trial view becomes inverted to indicate that the trial has been selected. Move the mouse to trial view 21, press the shift key and without releasing the key click the left mouse button: trials 19-21 are now selected and have inverted frames.
  3. Select Zoom Case from the Window menu or place the mouse over any of the selected trials and click the left mouse button. Wintrack will zoom in, so only the selected trials are visible in the case window.
  4. You may resize the window by dragging the window frame. There may now be unused space between the trial views and the frame of the case window. Click anywhere in that empty space to shrink the case window so its frame fits the displayed trials.
  5. Select Close Case Document from the File menu. Wintrack displays a message asking if you wish to save the changes to the case document. Why? The zoom state is part of the case properties which are stored in the document together with the case data. For now click Cancel because we will continue to work with the document.

    Next, you will set a time window and zoom the path fragments so they are shown at maximal magnification.

Setting a time window and zooming individual paths...

  1. Use the mouse to select trials 19 ad 20.
  2. From the Window menu select Zoom Path.
  3. The Zoom Path dialog opens:
    • In the dialog field labeled Time window select from begin, enter 30 for duration [s] and 0 for offset [s].
    • In the dialog field labeled Zoom mode select paths individual.
    • The dialog field labeled trial range displays 19-20, the trial range you have selected with the mouse before invoking the command. You could still change the range at this time, however.
    • Leave the dialog field Margin set to 0.000.
    • Click Ok to close the dialog box.
  4. Wintrack redraws the selected trial views and deselects them.

    Only the first 30 seconds of trials 19 and 20 are displayed and the path segments are zoomed and centered to fill all available space. The arena and part of the goal positions are not shown because they no longer fit inside the view. The customized view of the document could now be printed using the Print Case Document command. But we will now use that command to export it into another Windows™ application.

Exporting a case document via the clipboard...

  1. Without closing SWIM1.WTR, select Print Case Document from the File Menu.
  2. The Print Case Document dialog is displayed:
    • In the dialog field labeled Print to, select clipboard and enter 100 in the dialog field labeled segment. Some Windows™ applications are unable to handle paths which consist of a large number of points. Therefore, Wintrack allows to break paths into shorter segments with a given maximal number of points while exporting them to the clipboard.
    • Note that in the dialog field Options/Size, the options header text, footer text, and trial numbers are now grayed, because neither headers, footers, nor trial numbers can be exported to the clipboard. The dialog fields width [m] and height [m] are still available: enter 0.10 for width and 0.05 for height.
    • Press Ok to close the dialog box. Wintrack instantly copies the document to the clipboard.
  3. Start Windows WordPad™, MS Word for Windows™ or any Windows™ application that can import graphics via the clipboard. Create a new document.
  4. From the application's Edit menu, select Paste. The customized case document is inserted into the document. It has been scaled so its dimensions do not exceed the width and height specified in the Print Case Document dialog. Depending on the capabilities of the application, you may now select single components of the graph and edit them.
  5. Close the application into which you have imported the case document.
  6. Select Close All from Wintrack's Window menu. Click No if you are asked whether you wish to save the document before closing.

Lesson 3 - Analyzing trial variables - will give you a first idea how to analyze behavioral data with Wintrack. 


Go to previous document on same levelGo to next document on same levelMove up one levelGo to sitemap