Announcement

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

  • unwanted y axis ticks on .emf graph

    Dear list members,

    a graph plotted without ticks (tlw(none)), if saved as .emf and loaded in word (or opened on paint), gets its ticks back (see below) - but only on the y axis. Any solution to avoid this while using this format? Note that after the graph command (ssc describe heatplot) I'm using gr_edit to modify labels - on both axes, however, the only specificity of changes to the y axis being the labels' angle.

    Best
    Matteo
    Attached Files
    I'm using StataNow/MP 18.5

  • #2
    Please provide a reproducible example.

    Comment


    • #3
      Err...

      Code:
      webuse nhanes2, clear
      heatplot weight height, ylabel(25(25)175, tlw(none))
      graph export "yourfolderhere", as(emf) name("Graph")
      then

      1) Open Microsoft Office Word 2013
      2) select "insert picture" and add the emf picture
      3) compare inserted picture to stata graph window
      I'm using StataNow/MP 18.5

      Comment


      • #4
        I tried that just now, and I learnt only now that unfortunately
        Code:
        Stata for MacOSX cannot create emf files
        r(198);
        (just in case it helps another Mac user who was intending to help...)

        Comment


        • #5
          Originally posted by Matteo Pinna Pintor View Post
          Err...

          Code:
          webuse nhanes2, clear
          heatplot weight height, ylabel(25(25)175, tlw(none))
          graph export "yourfolderhere", as(emf) name("Graph")
          then

          1) Open Microsoft Office Word 2013
          2) select "insert picture" and add the emf picture
          3) compare inserted picture to stata graph window
          Thanks. Try instead:

          Code:
          webuse nhanes2, clear
          heatplot weight height, ylabel(25(25)175, noticks)
          graph export "yourfolderhere", as(emf) name("Graph")

          Comment


          • #6
            Thanks Andrew.
            I'm using StataNow/MP 18.5

            Comment

            Working...
            X