"LaTeX" article insert Visio and matlab vector diagram

Source: Internet
Author: User

Using Latex for the first time is amazing. About the article in the vector image insertion, here to make a small summary ~ Reprint Please indicate the source: http://blog.csdn.net/xiaowei_cqu/article/details/7699585

I only use two drawing tools: Visio and MATLAB, and finally the PDF is inserted. Oh, I also drew a diagram of the experiment setup with the drawing board and put it in Visio. Visio

Visio default storage format the VSD itself is a vector diagram, usually can be inserted in Word in the VSD, or directly select the image Ctrl + V in the past is inserted VSD. However, different versions of the display may be problematic, so I usually get used to the PNG and put it into word.

Latex personally think or pdf is better, png,jpg are bitmaps, amplification is not clear. The key to saving a PDF is to resize the page, which determines the size of the PDF page, which is the final insert of the latex map.

For example, the page is like this, the PDF is the right side of the appearance:


Can be designed in the "paper direction", "Size", "Auto Adjust" several options to adjust the size of the chart and page:


Finally there is this effect:


Then insert the PDF into the latex:

\begin{figure}
  \centering
  \includegraphics[width=120mm]{fig.pdf}\\
  \caption{system environment.}
  \LABEL{FIG:ENV}
\end{figure}

matlab matlab default format fig is the format of MATLAB, can be saved as EPS is a vector diagram, you can also insert in Word. Inserting EPS in latex appears to require a macro package because some conversion actions are required: eps->ps->pdf (there may be a step in the middle). I'm just going to go straight to the PDF and plug it in again, which may be a bit cumbersome. First put Matlab survival into EPS, and then use Photoshop to open EPS pictures. You need to rasterize the EPS graph first when you open it:
The "Resolution" option here directly determines the quality of the image you open and, of course, the image size. 128 of the resolution is about 1 m, the larger the resolution in the PDF to enlarge the more clearly, of course, the larger the image size, according to the paper requirements of the choice bar. Here PS is very powerful in that you can arbitrarily define the size, the page is also with the size of the image:
Zoom in one try:

It's still clear.





Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.