matlab uitable has poor quality when saving pdf - matlab

I'm creating a table to put in an image. when I save a pdf. file (or png for that matter), the plots have nice quality but the table is supper bad (see image 1, a close up). It looks fine on matlab (image2)
How can I overcome this?

Related

How to save a 3D image or what's the image format that we can spin it manually after saving it from Matlab without opening Matlab?

I have plotted a 3-dimension figure which is the 3-D cloud water content from a Cloud Resolving Model. I would like to save it and preserve the image information that I can rotate it along different direction after I have saved it. I know it's possible to save it as format fig in Matlab and do what I want only using Matlab to open it. Is any other format of image that can do the same thing with open Matlab?
Actually I am not familiar with this part and not sure what's key word is more about this question.
Export figure to 3D interactive PDF
using this plugin it is possible to save a 3d figure as a U3D file and embed it into a pdf

LibreOffice Impress - Discarding image cropped-out data

I created some presentation with a lot of small images.
The problem is - that those images were originally whole screenshots (1920x1080 px), which I used Impress' image cropping tool to take only small relevant parts of the screenshot.
If you ask why is it a problem -> the answer is that instead of containing ~30 very little image crops, my presentation contains ~30 1920x1080 sized images, and just shows them according to the current crop settings.
It causes the saving process to take ~10 seconds, the output file is very large and everything works slowly because of the complex rendering process.
Is there any way to discard the cropped parts of the images?
The cropping tool is not good for making such large changes. From https://wiki.openoffice.org/wiki/Documentation/OOo3_User_Guides/Writer_Guide/Cropping_resizing_rotating (and this is true in Impress as well):
If you crop an image in Writer, the picture itself is not changed. If
you export the document to HTML, the original image is exported, not
the cropped image.
Instead, use separate image software to do the cropping before putting the images into Impress. I typically use IrfanView.
For a discussion see https://forum.openoffice.org/en/forum/viewtopic.php?t=3665.

How to create article-quality 3-D plots?

Lately I've been working on how to make my MATLAB figures article-quality, since normal output plots don't look that nice. The function export_fig from the File Exchange has done a lot of pretty things for me, but now I've come to a new challenge: making a high-quality 3-D plot.
I figured the best place to start looking is here, so my question is: how to make a good-looking 3-D plot using only MATLAB? And don't get me wrong, I know how to make a 3D plot, I just want my figures to be looking article-quality!
Any suggestions?
If you are satisfied with the figure's quality on screen, you can just save the figure in .eps fully-vectorized format. Then open it - on OSX I use the standard preview software - and save it as a light .jpg for the initial submission, and as .tiff, png or pdf depending on the journal requirements. preview can export an .eps at 600/1200 pixels per inch, compressed or not, and cropping is easily done with a mouse. A minor point: vectorized exported figures do not render unfamiliar fonts.
Here is an example from matlab, exported as .eps and saved as .png 400 ppi.
try enabling handle graphics 2 if you are on one of the later versions of Matlab. Use
-hgVersion 2 startup switch in your Matlab command-line.

images get cropped in the generated presentation

i am using open xml sdk to copy slides into another presentation , when the slides are copied and my desired presentation is generated , I iterate through each slide of the generated document and replace its existing images with the image of my choice , the process is executing and the images gets replaced , but here is the bind , if the dimensions of my images are larger then the image in the document , the image gets cropped to fit to the size that was previously occupied by the replaced image .But if i do the whole process manually , by right clicking with my mouse , power point changes the dimension of the image its get shorter but its not cropped and the whole image is displayed ...
so what approach should i go for , do i have to change some xml settings through code , or do i have to change the dimension of my images using c# classes , what is the right approach to tackle this issue???
guys i will be anxiously waiting for your response ......
Better change the image before replacing the image in your target presentation file. As power point is going to embed your image in the file itself, you can reduce the size of the overall generated file if you compress the images to required dimensions before replacing.
Changing the dimensions in the xml is also a valid idea but you are embedding images into the file without any added advantage.
Some pointers on how to resize image in c# :
https://stackoverflow.com/a/87786/860243
http://www.peterprovost.org/blog/2003/05/29/Resize-Image-in-C/
http://dzone.com/snippets/c-resize-image-while

Matlab user cropped image and then processing

I want to make a program where I have an image and I display it to the user, and the user then crops out the unimportant part, while matlab waits for him to finish. Then the rest of the program is run where the image processing is done on the part of the image that is left.
I found the 'waitfor' function but I am not sure how it is to used in this case. Also will the corresponding matrix be updated with the values of the cropped image?
I think that you need imcrop
It's a matlab tool to crop images. You draw the rectangles, and then you can move it. You double-click to finish.