Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6941475
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T12:53:26+00:00 2026-05-27T12:53:26+00:00

How do I export a re-sized version of the output I get from a

  • 0

How do I export a re-sized version of the output I get from a call to GraphPlot
(or TreePlot if they produce different output) to a jpg file?
Currently, I’m simply calling Export[file_name, G]
where G is the result from a call to something like GraphPlot.
I’m using Microsoft office picture manager to view the jpgs,
but re-scaling them there yields unsatisfactory results due to poor resolution
(the graph I’m trying to plot has strings as labels which can’t be made out after rescaling this way). I would like to be able to choose the size/resolution of the rendered jpg.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T12:53:27+00:00Added an answer on May 27, 2026 at 12:53 pm

    As Simon already pointed out, don’t use a raster-format for a vector-graphics. Instead, export you plot to e.g. a scalable vector graphics:

    graph = GraphPlot[ExampleData[{"Matrix", "HB/can_292"}, "Matrix"]];
    Export["graph.svg", graph]
    

    The advantage is, that in such an image, you can still adjust and change lines, polygons and colors. And finally, you can export it to an image of arbitrary quality easily.

    enter image description here

    And remember, for Plots which contain lines, polygons, … everything with sharp edges you should never use jpg. General speaking, this is a format for photographs only since its compression is made for reducing filesize in natural images. In those images you don’t recognize the compression, in images with text, lines and polygons you certainly will notice the artefacts. Use png if possible. Take your browser and zoom into the above image.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I export an Excel document with DisplayTag. It saves as a .xls file to
to export some data i want to be able to generate an html output.
How to export pictures in Microsoft Word to TIFF file using Visual Studio Tools
I'm trying to export a Crystal Report to a text file, while preserving any
I'm trying to export a Crystal Report to an HTML file, but when I
<?xml version=1.0 encoding=utf-8?> <!-- Generator: Adobe Illustrator 14.0.0, SVG Export Plug-In . SVG Version:
I'm using the Eclipse Export... Runnable jar file feature to package up my Clojure+Java
My goal is to generate a html file with tables and export them into
I am using __declspec(dllimport/export) on a debug version of new as such: #ifdef _DEBUG
I need to Export some PNG Images with Transparent Background from a C# Application

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.