Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Opening a PDF in Illustrator cuts off an image

New Here ,
Mar 27, 2025 Mar 27, 2025

Hi all. I made a graph in R and exported that plot in PDF format. The colors in the PDF go beyond the "40000" mark at the bottom. However, when I opened the filed with Adobe Illustrator 2024, the graph is partially cut off (it doesn't even reach 40000). Any idea as to why this is happening? Thank you.Illustrator.pngPDF.png

TOPICS
Bug , Draw and design , Import and export , Performance , Tools
316
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Community Expert ,
Mar 27, 2025 Mar 27, 2025

You've reached the limit as to how many points can be in path in Illustrator (approx 32000). There is no solution unless you simplify the graph at the source.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 28, 2025 Mar 28, 2025

Thanks for clarifying, Brad! 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 28, 2025 Mar 28, 2025
LATEST

This was covered here a few times, most recently with somone creating a graph in Cairo. I don't know anything about either Cairo or R, but a quick google search mentions this being a problem and that there are apprently routines you can invoke to simplify the sampling in your graph, or by splitting your graph into a few separate sections at a time so you have a few lines that you can butt up against each other. The other way, of course, is to render your graph as a high-resolution image file in Photoshop.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 27, 2025 Mar 27, 2025

Are the lines in the graph a single connected path? If so, it's possible the path may have so many anchor points that a portion of the path is being disregarded. I think 32,000 is the maximum number of anchor points a path can have in Illustrator.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 28, 2025 Mar 28, 2025

Thanks for clarifying, Bobby! 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines