how do I remove lines that show up in contour plots?
9 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
When I save a contour plot created using contourf as a .eps or .pdf file, there are vertical and diagonal lines through the cells. These do not appear in .fig files or other versions of the output. These are ugly and distracting. How do I get rid of them? I am running R2014a. This did not happen in earlier versions of Matlab.
4 Kommentare
Walter Roberson
am 20 Okt. 2015
You can zip any kind of file and attach the .zip provided it is not too big.
Antworten (2)
Kelly Kearney
am 19 Okt. 2015
I'm guessing these are antialiasing artifacts, as discussed in this thread. The problem has been around for a long time, but some recent changes to the way Matlab triangulates all patch objects in the new graphics system means that the problem rears its head far more often in R2014b+.
0 Kommentare
Walter Roberson
am 20 Okt. 2015
2 Kommentare
Walter Roberson
am 21 Okt. 2015
Alan, there are bugs in many of the common PDF readers with polygons that are too simple ("Too soft"), and there are bugs in many of the common PDF readers with polygons that are too complex ("Too hard!"). You appear to be presuming that there is a Baby Bear Solution that will be "Just right!" for all of them. But do you know that to be true? The nature of bugs is that the intermediate settings could be wrong for all of the most common PDF readers.
If Mathworks needs to choose which PDF readers to be compatible with, if it is not possible to create output that works with them all, then which ones would you say are mandatory that MATLAB works around the bugs of, and which ones would you say it is okay for the MATLAB output to not work with?
Siehe auch
Kategorien
Mehr zu Contour Plots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!