Announcement

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

  • stata displays "could not find Graph window" when exporting images

    When using stata this morning, I can still export images, but now there is a problem, I have tried various methods and can't solve it, please helpgraph
    code:
    Code:
    graph export "standard_DID1.png", replace

  • #2
    Provide a minimal worked example please.

    Comment


    • #3
      Hi Caca Zhang
      It is possible that you are not displaying the graph output before trying to export it. This problem is particularly common when exporting into PNG format.
      So, the main question: can you see the graph you are trying to export before you try to export it?
      F

      Comment


      • #4
        On Fernando's point, make sure you've specified the "name" option

        Code:
        sysuse auto, clear
        sc price weight, name(scatter, replace)
        such that Stata names it that

        Comment


        • #5
          Sorry, I only saw your reply now, thank you very much for your help.
          For Fernando's question, I can't see the chart;
          For Jared's suggestion, I will try;
          After restarting the computer today, it can be used. I am also in confusion. Thank you for your enthusiastic help.

          Comment

          Working...
          X