Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Graph export to a specific folder

    Hi all,

    May I know how to export a graph as .png to a specific folder? The default location is the current directory.

    Code:
    mkdir graphs
    graph export graph1.png, replace
    I want to save graph1.png above to my mkdir folder, not the current directory. The documentation that I found described how to export graph from a specific folder, but not to a specific folder. Sorry for the basic question. Thank you.

    Best regards,

    Abdan

  • #2
    Sorry. I just found the answer. Apologies.

    Comment


    • #3
      Hi,

      Anyone could help with this question, please? Turned out I still can't solve it. Thank you.

      Best regards,

      Comment


      • #4
        Well I may be wrong but I believe mkdir will create the directory in your current directory. So try
        Code:
         graph export ".\graphs\graph1.png", replace
        The pwd command will tell you what the current working directory is

        Comment

        Working...
        X