اولین بار است که به اینجا می‌آیید؟ راهنمای سایت را بخوانید!
Close Sidebar
وب‌سایت پرسش و پاسخ پارسی‌لاتک جایی برای پرسش و پاسخ درباره سیستم حروف‌چینی لاتک و بسته زی‌پرشین است. در اینجا می‌توانید سوال‌های خود را بپرسید و به سوال‌های دیگران پاسخ دهید.

محبوب‌ترین برچسب‌ها

رفع خطا جدول مراجع xepersian ریاضی‌نویسی شکل فونت فهرست مطالب شماره‌گذاری منابع bidi پانویس بیب‌تک tikz تک‌لایو parsilatex بیمر اسلاید زی‌پرشین پاورقی سربرگ bibtex نماد فرمول‌نویسی رسم شکل قالب ارجاع‌دهی biditexmaker هدر ویرایشگر beamer واژه‌نامه اندازه فونت texstudio عنوان فصل ماتریس اعمال نشدن تغییرات در پی‌دی‌اف رسم جدول bidipresentation شماره صفحه حاشیه رنگ عنوان شکل اسلاید فارسی محیط قضیه گراف مکان شکل tikzpicture حروف‌چینی کد شماره فصل enumerate tabriz_thesis نمایه align زیرنویس شکل کادر itemize listings الگوریتم عدم اجرا نیم‌فاصله متن لاتین و فارسی فهرست اشکال بسته فاصله بین خطوط قالب پایان‌نامه فرمول نصب تک‌لایو فارسی‌تک hyperref شماره فرمول glossaries کپشن نمودار حروف‌چینی چندستونی فونت فارسی و انگلیسی ماکرونویسی خروجی biditools شماره پاورقی پیوست‌ فاصله‌گذاری فرمول چندضابطه‌ای لاتک سوال امتحانی subfigure extrafootnotefeatures header texmaker pdf tex biditufte-book تصویر شمارنده texlive2015 longtable زیرنویس خطا رسم نمودار شماره‌گذاری صفحات پایان نامه دیاگرام فهرست جداول میک‌تک texlive2016 تنظیم جدول kashida texworks caption اندیس lollipop iust-thesis multicol فصل‌نویسی شعر سوال چهارگزینه‌ای بولد تورفتگی آکولاد اعداد فارسی فاصله عمودی xindy چپ‌چینی اوبونتو میکروسافت ورد قاب geometry texlive fancyhdr تک لایو 2015 عنوان بخش به‌روزرسانی بسته aimc46 صفر توخالی فرمول طولانی بیرون‌زدگی کاما وسط‌چینی tcolorbox پوستر شماره گذاری فاصله سطرها نوشتافت شکست خط tex-programming فونت اعداد pgfplots قرآن tabriz-thesis ایتالیک winedt جستجوی معکوس xelatex فلش جایابی تصویر قالب کتاب پاراگراف‌بندی بازیابی اطلاعات هایپرلینک فهرست نمادها شمارنده فصل font محیط ریاضی رسم کادر جداکننده جدول طولانی فهرست تصاویر شماره‌گذاری فرمول algorithm2e فونت بولد proof equation bidipoem eps جدول افقی عکس به‌روزرسانی پانویس چندستونی کمک مالی فاصله خطوط حروف‌چینی شعر زیرشکل minipage قلم پانویس پاراگرافی ltrfootnote پیوست computeautoilg متن فارسی و انگلیسی فرمول چندخطی neveshtuft غلط‌گیری املایی تک‌پارسی پیکان لاتکس tabular baselineskip شماره قسمت قسمت عنوان جدول
4 نفر آنلاین
0 عضو و 4 مهمان در سایت حاضرند
بازدید امروز: 8399
بازدید دیروز: 44967
بازدید کل: 21056786

فارسی کردن برچسب نمودارهایی که در متلب کشیده شده اند

–1 رای
3,009 بازدید

با سلام. چطور میتونم نمودارهایی که توی متلب کشیدم رو فارسی کنم برای وارد کردن در پایان نامه؟ (قسمتهای title,xlabel,ylabelو legend) . فایل پیوست شده شکلی است که توی متلب در قالب eps ذخیره کردم ولی میخوام نوشته های انگلیسی، فارسی باشند. ممنون و تشکر.

سوال شده آذر 9, 1394 توسط فرشته1000 (3 امتیاز)
برچسب گذاری دوباره آذر 9, 1394 توسط فرشته1000
سلام
برچسب «برچسب» را حذف کنین بیزحمت.
فایلی ضمیمه نشده.
میشه با tikz مثلا یک کادر سفید روی کلمه‌های لاتین بندازین. سپس با tikz بنویسین رویش.
یا می‌تونین با برنامه‌ای مثلا Corel Draw و ... عکس‌ها را ادیت کنین.
از بسته overpic باید استفاده کنی.
خیلی ممونم.
با سلام و خسته نباشید
ببخشید در مورد این بسته یکم توضیح بیشتر میشه بدین،اصلا چطور به این بسته دسترسی داشته باشیم.
متاسفانه من اشنایی بیشتری  با زبان متلب ندارم و مشکل همون دوستمون رو دارم
با تشکر

1 پاسخ

0 رای

hi, use matlab2tikz to convert your plot to .tex then you could utilize the xepersian package for the rest, just edit the title, x label and so on with what you want, here is an example.

clc;clear;clf;
pout=100:100:600;
peff_switching=[86.3,85.4,84.9,84.6,84.4,84.2];
peff_pwmPrec=[81.7,82.1,82.4,82.5];
peff_pwsm11l=[87.3,87.5,87.6,87.5,87.4,87.5];
mf3=figure(1)
plot(pout,peff_switching,'-ok','linewidth',0.8);hold on; box off;
plot(pout(1:4),peff_pwmPrec,'-^r','linewidth',0.8);
plot(pout,peff_pwsm11l,'-sb','linewidth',0.8);

Legend={'Switching Amplifier','PWM Amplifier capable of power recovery ','11 Level PWSM Amplifier'};
xlabel('Power output');ylabel('Power efficiency');
legend(Legend,'Location','southeast');
matlab2tikz('figurehandle',mf3,'filename','figeff1.tex' ,'standalone', true,'floatFormat','%.3g')

MATLAB Plot
gives us,

% This file was created by matlab2tikz.
%
%The latest updates can be retrieved from
%  http://www.mathworks.com/matlabcentral/fileexchange/22022-matlab2tikz-matlab2tikz
%where you can also make suggestions and rate matlab2tikz.
%
\documentclass[tikz]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{pgfplots}
\usepackage{grffile}
\pgfplotsset{compat=newest}
\usetikzlibrary{plotmarks}
\usetikzlibrary{arrows.meta}
\usepgfplotslibrary{patchplots}
\usepackage{amsmath}

\begin{document}
\begin{tikzpicture}

\begin{axis}[%
width=4.521in,
height=3.566in,
at={(0.758in,0.481in)},
scale only axis,
xmin=100,
xmax=600,
xlabel style={font=\color{white!15!black}},
xlabel={Power output},
ymin=81,
ymax=88,
ylabel style={font=\color{white!15!black}},
ylabel={Power efficiency},
axis background/.style={fill=white},
axis x line*=bottom,
axis y line*=left,
legend style={at={(0.97,0.03)}, anchor=south east, legend cell align=left, align=left, draw=white!15!black}
]
\addplot [color=black, line width=0.8pt, mark=o, mark options={solid, black}]
  table[row sep=crcr]{%
100 86.3\\
200 85.4\\
300 84.9\\
400 84.6\\
500 84.4\\
600 84.2\\
};
\addlegendentry{Switching Amplifier}

\addplot [color=red, line width=0.8pt, mark=triangle, mark options={solid, red}]
  table[row sep=crcr]{%
100 81.7\\
200 82.1\\
300 82.4\\
400 82.5\\
};
\addlegendentry{PWM Amplifier capable of power recovery}

\addplot [color=blue, line width=0.8pt, mark=square, mark options={solid, blue}]
  table[row sep=crcr]{%
100 87.3\\
200 87.5\\
300 87.6\\
400 87.5\\
500 87.4\\
600 87.5\\
};
\addlegendentry{11 Level PWSM Amplifier}

\end{axis}
\end{tikzpicture}%
\end{document}

pdfLaTeX output
with a simple edit,
% This file was created by matlab2tikz.
%
%The latest updates can be retrieved from
% http://www.mathworks.com/matlabcentral/fileexchange/22022-matlab2tikz-matlab2tikz
%where you can also make suggestions and rate matlab2tikz.
%
\documentclass[tikz]{standalone}
%\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{pgfplots,amsmath}
\usepackage{grffile}
\pgfplotsset{compat=newest}
\usetikzlibrary{plotmarks}
\usetikzlibrary{arrows.meta}
\usepgfplotslibrary{patchplots}
\usepackage[]{xepersian}%displaymathdigits=default
\settextfont[Scale=1]{XB Yas}
\setdigitfont[Scale=1]{XB Yas}

\begin{document}
\begin{tikzpicture}

\begin{axis}[%
grid=both,
width=4.521in,
height=3.566in,
at={(0.758in,0.481in)},
scale only axis,
xmin=100,
xmax=600,
xlabel={\rl{توان خروجی، $\mathrm{kW}$}},
ymin=81,
ymax=88,
ylabel={\rl{بازده توان، $\%$}},
axis x line=bottom,
axis y line=left,
legend style={at={(0.97,0.01)}, anchor=south east, legend cell align=right, align=right}
]
\addplot [color=black, line width=0.8pt, mark=o, mark options={solid, black}]
  table[row sep=crcr]{%
100 86.3\\
200 85.4\\
300 84.9\\
400 84.6\\
500 84.4\\
600 84.2\\
};
\addlegendentry{\rl{تقویت کننده سوئیچینگ}}

\addplot [color=red, line width=0.8pt, mark=triangle, mark options={solid, red}]
  table[row sep=crcr]{%
100 81.7\\
200 82.1\\
300 82.4\\
400 82.5\\
};
\addlegendentry{\rl{تقویت کننده \lr{PWM} با قابلیت بازیافت توان}}

\addplot [color=blue, line width=0.8pt, mark=square, mark options={solid, blue}]
  table[row sep=crcr]{%
100 87.3\\
200 87.5\\
300 87.6\\
400 87.5\\
500 87.4\\
600 87.5\\
};
\addlegendentry{\rl{تقویت کننده \lr{PWSM} یازده سطحی}}

\end{axis}
\end{tikzpicture}%
\end{document}

thus,
XeLaTeX output

پاسخ داده شده بهمن 14, 1399 توسط nomad8586 (5 امتیاز)
this is not ideal for a large number of figure.
...