Skip to main content
  • Home
  • Documentation
  • FAQ
  • Downloads
  • Support
  • Current Release Notes
  • Ferret Users Guide
    • Users Guide Index
    • Commands Reference
    • 1. Introduction
    • 2. Data Set Basics
    • 3. Variables & Expressions
    • 4. Grids & Regions
    • 5. Animations & Gif Images
    • 6. Customizing Plots
    • 7. Handling String Data Symbols
    • 8. Working with Special Data Sets
    • 9. Computing Environment
    • 10. Converting to NetCDF
    • 11. Writing External Functions
    • Glossary
    • Appendix A: Functions
    • Appendix B: PPLUS Guide
    • Appendix C: Ferret-Specific PPLUS Enhancements
  • Previous Release Notes
  • Tutorials and Demos
    • Ferret Tour
    • DSG files: Discrete Sampling Geometries Demo
    • Ferret sorting demo
    • Fast Fourier Transforms demo
    • Empirical Orthogonal Functions demo
    • Ferret objective analysis demo
    • Ferret Palette Demo
    • Map projections
    • Ferret polygon vector demo
    • Ferret Graticules demo
    • Ferret Polytube Demo
    • Ferret Polymark Demo
    • Ferret Constant-Array demo
    • Ferret land_detail demo
    • COADS Tour
    • Levitus Tour
    • Use OPeNDAP
    • Ferret binary read demo
  • PyFerret
    • PyFerret Downloads and Install ../../faq/ferret-faqs.html
    • What is PyFerret?
    • Why use PyFerret?
    • PyFerret for the Ferret user
    • PyFerret command syntax: quick-start notes
    • PyFerret for the Python user
    • Graphics in PyFerret ?
    • New Ferret functionality
    • PyFerret Python functions and constants
    • PyFerret Python objects and methods
    • Ferret external functions in Python
    • Ferret Fortran external functions
    • PyFerret metadata-and-data dictionaries
  • OPeNDAP
    • OPeNDAP usage in Ferret
    • Use OPeNDAP Demo
    • Test OPeNDAP

TRANSPOSE

TRANSPOSE (VAR,DIM1,DIM2)     Compute the transpose along two given dimensions  (Ferret v7.2 and higher)

Arguments: VAR Variable to transpose
  IDIM1 Index 1, 2, .. or 6 indicating the first direction for the transpose
  IDIM2

Index 1, 2, .. or 6 indicating the first dimension for the transpose

Result Axes: X

 inherited from argument(s)

  Y inherited from argument(s)
  Z inherited from argument(s)
  T inherited from argument(s)
  E inherited from argument(s)
  F inherited from argument(s)

This function is a "direction-changing function", whose result is determined by the value of specific direction arguments.  Those arguments in fact tell Ferret to internally choose one of a set of ordinary functions depending on the directions given in arguments 2 and 3.

 

TRANSPOSE (var, 1, 2) calls the function TRANSPOSE_XY(VAR)   transposes X and Y axes of given variable
 
TRANSPOSE (var, 1, 4) calls the function TRANSPOSE_XT(VAR)   transposes X and T axes of given variable

TRANSPOSE (var, 4, 6) calls the function TRANSPOSE_TF(VAR)   transposes T and F axes of given variable