# How to toggle plot items via command

**URL:** <https://forum.itascainternational.com/t/how-to-toggle-plot-items-via-command/771>\
**Category:** FLAC3D\
**Created:** [October 6, 2022, 7:26am UTC](https://forum.itascainternational.com/t/how-to-toggle-plot-items-via-command/771 "2022-10-06T07:26:32Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gian](https://avatars.discourse-cdn.com/v4/letter/g/f19dbf/32.png) [@Gian](https://forum.itascainternational.com/u/Gian)\
**Post date:** [October 6, 2022, 7:26am UTC](https://forum.itascainternational.com/t/how-to-toggle-plot-items-via-command/771/1 "2022-10-06T07:26:32Z")

</div>

Hello guys,

Quick question, suppose I have a plot with different plot item, say zone stress and zone strain. I could not find a way to toggle display/hiding of these items to export them via command. Do you know any way of doing this?

best  
Gian

---

<div class="post-metadata">

**Author:** ![Zakaria](https://avatars.discourse-cdn.com/v4/letter/z/b5ac83/32.png) [@Zakaria](https://forum.itascainternational.com/u/Zakaria)\
**Post date:** [October 6, 2022, 7:32am UTC](https://forum.itascainternational.com/t/how-to-toggle-plot-items-via-command/771/2 "2022-10-06T07:32:46Z")

</div>

Hello Gian,  
If I understood your request, you want to export different plot items from the same plot.  
I propose that you duplicate your plot, show the plot item of interest in each plot window then use [plot export command — FLAC3D 7.0 documentation (itascacg.com)](http://docs.itascacg.com/flac3d700/common/guimodule/doc/manual/plot/cmd_plot.export.html?highlight=export%20file)  
I hope I could help.

---

<div class="post-metadata">

**Author:** ![Gian](https://avatars.discourse-cdn.com/v4/letter/g/f19dbf/32.png) [@Gian](https://forum.itascainternational.com/u/Gian)\
**Post date:** [October 6, 2022, 8:08am UTC](https://forum.itascainternational.com/t/how-to-toggle-plot-items-via-command/771/3 "2022-10-06T08:08:26Z")

</div>

Thank you @Zakaria , that would work. I wanted to avoid creating to many plot files, but it should work.

---

<div class="post-metadata">

**Author:** ![jhazzard](https://avatars.discourse-cdn.com/v4/letter/j/4af34b/32.png) [@jhazzard](https://forum.itascainternational.com/u/jhazzard)\
**Post date:** [October 6, 2022, 1:25pm UTC](https://forum.itascainternational.com/t/how-to-toggle-plot-items-via-command/771/4 "2022-10-06T13:25:48Z")

</div>

You can use the command: PLOT ITEM n ACTIVE OFF, where n is the number of the plot item. So, for example, if you have a plot with zones and vectors, give the command “plot item 2 active off” to hide the vectors.

---

<div class="post-metadata">

**Author:** ![Gian](https://avatars.discourse-cdn.com/v4/letter/g/f19dbf/32.png) [@Gian](https://forum.itascainternational.com/u/Gian)\
**Post date:** [October 6, 2022, 2:20pm UTC](https://forum.itascainternational.com/t/how-to-toggle-plot-items-via-command/771/5 "2022-10-06T14:20:56Z")

</div>

Hi @jhazzard , flac3D says that item can only CREATE, DELETE or MODIFY  
 ![imagen](https://canada1.discourse-cdn.com/flex031/uploads/itasca/original/1X/938ada1c3d4c3744a88c6f0b4987f51c2fd1608e.png)

any alternative?

---

<div class="post-metadata">

**Author:** ![jhazzard](https://avatars.discourse-cdn.com/v4/letter/j/4af34b/32.png) [@jhazzard](https://forum.itascainternational.com/u/jhazzard)\
**Post date:** [October 6, 2022, 4:36pm UTC](https://forum.itascainternational.com/t/how-to-toggle-plot-items-via-command/771/6 "2022-10-06T16:36:24Z")

</div>

Sorry - the syntax is PLOT ITEM MODIFY 1 ACTIVE OFF

---

<div class="post-metadata">

**Author:** ![Gian](https://avatars.discourse-cdn.com/v4/letter/g/f19dbf/32.png) [@Gian](https://forum.itascainternational.com/u/Gian)\
**Post date:** [October 6, 2022, 5:04pm UTC](https://forum.itascainternational.com/t/how-to-toggle-plot-items-via-command/771/7 "2022-10-06T17:04:34Z")

</div>

Thanks @jhazzard, it worked perfectly.

Gian
