# How to Flip an axis(Changing it in ascending or descening order) while viewing a vtk file?

**URL:** https://discourse.paraview.org/t/how-to-flip-an-axis-changing-it-in-ascending-or-descening-order-while-viewing-a-vtk-file/12171
**Category:** ParaView Support
**Tags:** vtk
**Created:** [May 27, 2023, 8:39pm UTC](https://discourse.paraview.org/t/how-to-flip-an-axis-changing-it-in-ascending-or-descening-order-while-viewing-a-vtk-file/12171 "2023-05-27T20:39:59Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Arijit](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/a/e0b2c6/32.png) [@Arijit](https://discourse.paraview.org/u/Arijit)
#### Post date: [May 27, 2023, 8:39pm UTC](https://discourse.paraview.org/t/how-to-flip-an-axis-changing-it-in-ascending-or-descening-order-while-viewing-a-vtk-file/12171/1 "2023-05-27T20:39:59Z")

</div>

How do I change the order of Longitude(x-axis)? I want it to start from 60, but in all the vtk file the longitude starts from 110 and make comparing plots really complicated. Is there an easy way to just flip the axis?

 ![reverseAxis](https://discourse.paraview.org/uploads/default/original/2X/c/c27e0100a061478e59aeaf81f63ff1012f6438bf.png)

---

<div class="post-metadata">

### Author: ![Arijit](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/a/e0b2c6/32.png) [@Arijit](https://discourse.paraview.org/u/Arijit)
#### Post date: [May 28, 2023, 6:41am UTC](https://discourse.paraview.org/t/how-to-flip-an-axis-changing-it-in-ascending-or-descening-order-while-viewing-a-vtk-file/12171/2 "2023-05-28T06:41:07Z")

</div>

I figured out that making the z-ais negative solves it. But there must be an easy option to flip an axis.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [May 30, 2023, 7:38am UTC](https://discourse.paraview.org/t/how-to-flip-an-axis-changing-it-in-ascending-or-descening-order-while-viewing-a-vtk-file/12171/3 "2023-05-30T07:38:32Z")

</div>

Transform filter with a -1 Z scale ?
