Drawing plot of a function with a fraction power Announcing the arrival of Valued Associate...
French equivalents of おしゃれは足元から (Every good outfit starts with the shoes)
How to achieve cat-like agility?
Is it OK to use the testing sample to compare algorithms?
Russian equivalents of おしゃれは足元から (Every good outfit starts with the shoes)
calculator's angle answer for trig ratios that can work in more than 1 quadrant on the unit circle
Determine whether an integer is a palindrome
How does TikZ render an arc?
First paper to introduce the "principal-agent problem"
Any stored/leased 737s that could substitute for grounded MAXs?
How to make triangles with rounded sides and corners? (squircle with 3 sides)
How to resize main filesystem
Twin's vs. Twins'
Pointing to problems without suggesting solutions
How can I prevent/balance waiting and turtling as a response to cooldown mechanics
Does the universe have a fixed centre of mass?
Is there a spell that can create a permanent fire?
Does the Rock Gnome trait Artificer's Lore apply when you aren't proficient in History?
Did John Wesley plagiarize Matthew Henry...?
How do I find my Spellcasting Ability for my D&D character?
Improvising over quartal voicings
What does 丫 mean? 丫是什么意思?
What is a more techy Technical Writer job title that isn't cutesy or confusing?
My mentor says to set image to Fine instead of RAW — how is this different from JPG?
Does a random sequence of vectors span a Hilbert space?
Drawing plot of a function with a fraction power
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)Plot reciprocal function with tkizFloor function plot with TikZPlot a linear function with pgf plot?Plot of a functionProblem with axis when drawing a function plot using PGFplotsLine up nested tikz enviroments or how to get rid of themproblem with tikz function plotTikz drawing with functionHow to plot function with an $n$How can plot power functions
How to draw curve of $y=(6x+2)^{frac{1}{3}}$ in domain $-1:3$ with tikz?
begin{tikzpicture}[scale=1,line join=round, font=footnotesize]
coordinate[label={[rotate=28,shift={(.3,-.05)}]above:{$A(1,2)$}}] (A) at (1,2);
coordinate[label={[shift={(.05,.15)}]left:$B$}] (B) at (0,1.5);
coordinate[label={[shift={(.13,-.05)}]above:$C$}] (C) at (2,0);
coordinate[label={[shift={(-.15,0)}]below:$O$}] (O) at (0,0);
coordinate[label={[shift={(0,.05)}]right:$E$}] (E) at (.55,1.1);
draw[-stealth] (-1,0)--(4,0) node[right]{$X$};
draw[-stealth] (0,-2)--(0,3) node[above]{$Y$};
siku{B}{A}{C}
draw[Periwinkle,domain=-1:3,samples=200,smooth] plot (x,{.5*x+1.5});
draw[Peach] (O)--(A)--($(C)!-.3!(A)$) (B)--(C) ;
draw[blue,thick,domain=0:3,samples=200,smooth] plot (x,{(6*x+2)^(1/3)}) node[right,black] {$y=(6x+2)^{frac{1}{3}}$}; %here the plot
end{tikzpicture}
tikz-pgf
add a comment |
How to draw curve of $y=(6x+2)^{frac{1}{3}}$ in domain $-1:3$ with tikz?
begin{tikzpicture}[scale=1,line join=round, font=footnotesize]
coordinate[label={[rotate=28,shift={(.3,-.05)}]above:{$A(1,2)$}}] (A) at (1,2);
coordinate[label={[shift={(.05,.15)}]left:$B$}] (B) at (0,1.5);
coordinate[label={[shift={(.13,-.05)}]above:$C$}] (C) at (2,0);
coordinate[label={[shift={(-.15,0)}]below:$O$}] (O) at (0,0);
coordinate[label={[shift={(0,.05)}]right:$E$}] (E) at (.55,1.1);
draw[-stealth] (-1,0)--(4,0) node[right]{$X$};
draw[-stealth] (0,-2)--(0,3) node[above]{$Y$};
siku{B}{A}{C}
draw[Periwinkle,domain=-1:3,samples=200,smooth] plot (x,{.5*x+1.5});
draw[Peach] (O)--(A)--($(C)!-.3!(A)$) (B)--(C) ;
draw[blue,thick,domain=0:3,samples=200,smooth] plot (x,{(6*x+2)^(1/3)}) node[right,black] {$y=(6x+2)^{frac{1}{3}}$}; %here the plot
end{tikzpicture}
tikz-pgf
What are the definitions ofsiku
,Periwinkle
andPeach
? Please provide us with a complete MWE. And the argument of the power becomes negative in the domain you specify, so you need to specify what to do do with these values.
– marmot
10 mins ago
newcommand{siku}[4][.2cm]% #1=size (optional), #2-#4 three points: angle #2#3#4 {coordinate (tempa) at ($(#3)!#1!(#2)$); coordinate (tempb) at ($(#3)!#1!(#4)$); coordinate (tempc) at ($(tempa)!0.5!(tempb)$); draw[darkgray] (tempa) -- ($(#3)!2!(tempc)$) -- (tempb); }
– kalakay
6 mins ago
sign for a right angle
– kalakay
5 mins ago
usepackage[dvipsnames]{xcolor}
– kalakay
3 mins ago
add a comment |
How to draw curve of $y=(6x+2)^{frac{1}{3}}$ in domain $-1:3$ with tikz?
begin{tikzpicture}[scale=1,line join=round, font=footnotesize]
coordinate[label={[rotate=28,shift={(.3,-.05)}]above:{$A(1,2)$}}] (A) at (1,2);
coordinate[label={[shift={(.05,.15)}]left:$B$}] (B) at (0,1.5);
coordinate[label={[shift={(.13,-.05)}]above:$C$}] (C) at (2,0);
coordinate[label={[shift={(-.15,0)}]below:$O$}] (O) at (0,0);
coordinate[label={[shift={(0,.05)}]right:$E$}] (E) at (.55,1.1);
draw[-stealth] (-1,0)--(4,0) node[right]{$X$};
draw[-stealth] (0,-2)--(0,3) node[above]{$Y$};
siku{B}{A}{C}
draw[Periwinkle,domain=-1:3,samples=200,smooth] plot (x,{.5*x+1.5});
draw[Peach] (O)--(A)--($(C)!-.3!(A)$) (B)--(C) ;
draw[blue,thick,domain=0:3,samples=200,smooth] plot (x,{(6*x+2)^(1/3)}) node[right,black] {$y=(6x+2)^{frac{1}{3}}$}; %here the plot
end{tikzpicture}
tikz-pgf
How to draw curve of $y=(6x+2)^{frac{1}{3}}$ in domain $-1:3$ with tikz?
begin{tikzpicture}[scale=1,line join=round, font=footnotesize]
coordinate[label={[rotate=28,shift={(.3,-.05)}]above:{$A(1,2)$}}] (A) at (1,2);
coordinate[label={[shift={(.05,.15)}]left:$B$}] (B) at (0,1.5);
coordinate[label={[shift={(.13,-.05)}]above:$C$}] (C) at (2,0);
coordinate[label={[shift={(-.15,0)}]below:$O$}] (O) at (0,0);
coordinate[label={[shift={(0,.05)}]right:$E$}] (E) at (.55,1.1);
draw[-stealth] (-1,0)--(4,0) node[right]{$X$};
draw[-stealth] (0,-2)--(0,3) node[above]{$Y$};
siku{B}{A}{C}
draw[Periwinkle,domain=-1:3,samples=200,smooth] plot (x,{.5*x+1.5});
draw[Peach] (O)--(A)--($(C)!-.3!(A)$) (B)--(C) ;
draw[blue,thick,domain=0:3,samples=200,smooth] plot (x,{(6*x+2)^(1/3)}) node[right,black] {$y=(6x+2)^{frac{1}{3}}$}; %here the plot
end{tikzpicture}
tikz-pgf
tikz-pgf
asked 13 mins ago
kalakaykalakay
1,037725
1,037725
What are the definitions ofsiku
,Periwinkle
andPeach
? Please provide us with a complete MWE. And the argument of the power becomes negative in the domain you specify, so you need to specify what to do do with these values.
– marmot
10 mins ago
newcommand{siku}[4][.2cm]% #1=size (optional), #2-#4 three points: angle #2#3#4 {coordinate (tempa) at ($(#3)!#1!(#2)$); coordinate (tempb) at ($(#3)!#1!(#4)$); coordinate (tempc) at ($(tempa)!0.5!(tempb)$); draw[darkgray] (tempa) -- ($(#3)!2!(tempc)$) -- (tempb); }
– kalakay
6 mins ago
sign for a right angle
– kalakay
5 mins ago
usepackage[dvipsnames]{xcolor}
– kalakay
3 mins ago
add a comment |
What are the definitions ofsiku
,Periwinkle
andPeach
? Please provide us with a complete MWE. And the argument of the power becomes negative in the domain you specify, so you need to specify what to do do with these values.
– marmot
10 mins ago
newcommand{siku}[4][.2cm]% #1=size (optional), #2-#4 three points: angle #2#3#4 {coordinate (tempa) at ($(#3)!#1!(#2)$); coordinate (tempb) at ($(#3)!#1!(#4)$); coordinate (tempc) at ($(tempa)!0.5!(tempb)$); draw[darkgray] (tempa) -- ($(#3)!2!(tempc)$) -- (tempb); }
– kalakay
6 mins ago
sign for a right angle
– kalakay
5 mins ago
usepackage[dvipsnames]{xcolor}
– kalakay
3 mins ago
What are the definitions of
siku
, Periwinkle
and Peach
? Please provide us with a complete MWE. And the argument of the power becomes negative in the domain you specify, so you need to specify what to do do with these values.– marmot
10 mins ago
What are the definitions of
siku
, Periwinkle
and Peach
? Please provide us with a complete MWE. And the argument of the power becomes negative in the domain you specify, so you need to specify what to do do with these values.– marmot
10 mins ago
newcommand{siku}[4][.2cm]% #1=size (optional), #2-#4 three points: angle #2#3#4 {coordinate (tempa) at ($(#3)!#1!(#2)$); coordinate (tempb) at ($(#3)!#1!(#4)$); coordinate (tempc) at ($(tempa)!0.5!(tempb)$); draw[darkgray] (tempa) -- ($(#3)!2!(tempc)$) -- (tempb); }
– kalakay
6 mins ago
newcommand{siku}[4][.2cm]% #1=size (optional), #2-#4 three points: angle #2#3#4 {coordinate (tempa) at ($(#3)!#1!(#2)$); coordinate (tempb) at ($(#3)!#1!(#4)$); coordinate (tempc) at ($(tempa)!0.5!(tempb)$); draw[darkgray] (tempa) -- ($(#3)!2!(tempc)$) -- (tempb); }
– kalakay
6 mins ago
sign for a right angle
– kalakay
5 mins ago
sign for a right angle
– kalakay
5 mins ago
usepackage[dvipsnames]{xcolor}
– kalakay
3 mins ago
usepackage[dvipsnames]{xcolor}
– kalakay
3 mins ago
add a comment |
1 Answer
1
active
oldest
votes
The function is not well-defined for x<-1/3
because a^x=exp(). You may plot
sign(6x+2)*|6x+2|^{frac{1}{3}}` instead.
documentclass[tikz,border=3.14mm]{standalone}
usetikzlibrary{calc}
begin{document}
begin{tikzpicture}[scale=1,line join=round, font=footnotesize]
coordinate[label={[rotate=28,shift={(.3,-.05)}]above:{$A(1,2)$}}] (A) at (1,2);
coordinate[label={[shift={(.05,.15)}]left:$B$}] (B) at (0,1.5);
coordinate[label={[shift={(.13,-.05)}]above:$C$}] (C) at (2,0);
coordinate[label={[shift={(-.15,0)}]below:$O$}] (O) at (0,0);
coordinate[label={[shift={(0,.05)}]right:$E$}] (E) at (.55,1.1);
draw[-stealth] (-1,0)--(4,0) node[right]{$X$};
draw[-stealth] (0,-2)--(0,3) node[above]{$Y$};
%siku{B}{A}{C}
draw[purple,domain=-1:3,samples=200,smooth] plot (x,{.5*x+1.5});
draw[orange] (O)--(A)--($(C)!-.3!(A)$) (B)--(C) ;
draw[blue,thick,domain=-1:3,samples=200,smooth] plot (x,{sign(6*x+2)*pow(abs(6*x+2),1/3)}) node[right,black] {$y=(6x+2)^{frac{1}{3}}$}; %here the plot
end{tikzpicture}
end{document}
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f485988%2fdrawing-plot-of-a-function-with-a-fraction-power%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
The function is not well-defined for x<-1/3
because a^x=exp(). You may plot
sign(6x+2)*|6x+2|^{frac{1}{3}}` instead.
documentclass[tikz,border=3.14mm]{standalone}
usetikzlibrary{calc}
begin{document}
begin{tikzpicture}[scale=1,line join=round, font=footnotesize]
coordinate[label={[rotate=28,shift={(.3,-.05)}]above:{$A(1,2)$}}] (A) at (1,2);
coordinate[label={[shift={(.05,.15)}]left:$B$}] (B) at (0,1.5);
coordinate[label={[shift={(.13,-.05)}]above:$C$}] (C) at (2,0);
coordinate[label={[shift={(-.15,0)}]below:$O$}] (O) at (0,0);
coordinate[label={[shift={(0,.05)}]right:$E$}] (E) at (.55,1.1);
draw[-stealth] (-1,0)--(4,0) node[right]{$X$};
draw[-stealth] (0,-2)--(0,3) node[above]{$Y$};
%siku{B}{A}{C}
draw[purple,domain=-1:3,samples=200,smooth] plot (x,{.5*x+1.5});
draw[orange] (O)--(A)--($(C)!-.3!(A)$) (B)--(C) ;
draw[blue,thick,domain=-1:3,samples=200,smooth] plot (x,{sign(6*x+2)*pow(abs(6*x+2),1/3)}) node[right,black] {$y=(6x+2)^{frac{1}{3}}$}; %here the plot
end{tikzpicture}
end{document}
add a comment |
The function is not well-defined for x<-1/3
because a^x=exp(). You may plot
sign(6x+2)*|6x+2|^{frac{1}{3}}` instead.
documentclass[tikz,border=3.14mm]{standalone}
usetikzlibrary{calc}
begin{document}
begin{tikzpicture}[scale=1,line join=round, font=footnotesize]
coordinate[label={[rotate=28,shift={(.3,-.05)}]above:{$A(1,2)$}}] (A) at (1,2);
coordinate[label={[shift={(.05,.15)}]left:$B$}] (B) at (0,1.5);
coordinate[label={[shift={(.13,-.05)}]above:$C$}] (C) at (2,0);
coordinate[label={[shift={(-.15,0)}]below:$O$}] (O) at (0,0);
coordinate[label={[shift={(0,.05)}]right:$E$}] (E) at (.55,1.1);
draw[-stealth] (-1,0)--(4,0) node[right]{$X$};
draw[-stealth] (0,-2)--(0,3) node[above]{$Y$};
%siku{B}{A}{C}
draw[purple,domain=-1:3,samples=200,smooth] plot (x,{.5*x+1.5});
draw[orange] (O)--(A)--($(C)!-.3!(A)$) (B)--(C) ;
draw[blue,thick,domain=-1:3,samples=200,smooth] plot (x,{sign(6*x+2)*pow(abs(6*x+2),1/3)}) node[right,black] {$y=(6x+2)^{frac{1}{3}}$}; %here the plot
end{tikzpicture}
end{document}
add a comment |
The function is not well-defined for x<-1/3
because a^x=exp(). You may plot
sign(6x+2)*|6x+2|^{frac{1}{3}}` instead.
documentclass[tikz,border=3.14mm]{standalone}
usetikzlibrary{calc}
begin{document}
begin{tikzpicture}[scale=1,line join=round, font=footnotesize]
coordinate[label={[rotate=28,shift={(.3,-.05)}]above:{$A(1,2)$}}] (A) at (1,2);
coordinate[label={[shift={(.05,.15)}]left:$B$}] (B) at (0,1.5);
coordinate[label={[shift={(.13,-.05)}]above:$C$}] (C) at (2,0);
coordinate[label={[shift={(-.15,0)}]below:$O$}] (O) at (0,0);
coordinate[label={[shift={(0,.05)}]right:$E$}] (E) at (.55,1.1);
draw[-stealth] (-1,0)--(4,0) node[right]{$X$};
draw[-stealth] (0,-2)--(0,3) node[above]{$Y$};
%siku{B}{A}{C}
draw[purple,domain=-1:3,samples=200,smooth] plot (x,{.5*x+1.5});
draw[orange] (O)--(A)--($(C)!-.3!(A)$) (B)--(C) ;
draw[blue,thick,domain=-1:3,samples=200,smooth] plot (x,{sign(6*x+2)*pow(abs(6*x+2),1/3)}) node[right,black] {$y=(6x+2)^{frac{1}{3}}$}; %here the plot
end{tikzpicture}
end{document}
The function is not well-defined for x<-1/3
because a^x=exp(). You may plot
sign(6x+2)*|6x+2|^{frac{1}{3}}` instead.
documentclass[tikz,border=3.14mm]{standalone}
usetikzlibrary{calc}
begin{document}
begin{tikzpicture}[scale=1,line join=round, font=footnotesize]
coordinate[label={[rotate=28,shift={(.3,-.05)}]above:{$A(1,2)$}}] (A) at (1,2);
coordinate[label={[shift={(.05,.15)}]left:$B$}] (B) at (0,1.5);
coordinate[label={[shift={(.13,-.05)}]above:$C$}] (C) at (2,0);
coordinate[label={[shift={(-.15,0)}]below:$O$}] (O) at (0,0);
coordinate[label={[shift={(0,.05)}]right:$E$}] (E) at (.55,1.1);
draw[-stealth] (-1,0)--(4,0) node[right]{$X$};
draw[-stealth] (0,-2)--(0,3) node[above]{$Y$};
%siku{B}{A}{C}
draw[purple,domain=-1:3,samples=200,smooth] plot (x,{.5*x+1.5});
draw[orange] (O)--(A)--($(C)!-.3!(A)$) (B)--(C) ;
draw[blue,thick,domain=-1:3,samples=200,smooth] plot (x,{sign(6*x+2)*pow(abs(6*x+2),1/3)}) node[right,black] {$y=(6x+2)^{frac{1}{3}}$}; %here the plot
end{tikzpicture}
end{document}
answered 2 mins ago
marmotmarmot
120k6156292
120k6156292
add a comment |
add a comment |
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f485988%2fdrawing-plot-of-a-function-with-a-fraction-power%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
What are the definitions of
siku
,Periwinkle
andPeach
? Please provide us with a complete MWE. And the argument of the power becomes negative in the domain you specify, so you need to specify what to do do with these values.– marmot
10 mins ago
newcommand{siku}[4][.2cm]% #1=size (optional), #2-#4 three points: angle #2#3#4 {coordinate (tempa) at ($(#3)!#1!(#2)$); coordinate (tempb) at ($(#3)!#1!(#4)$); coordinate (tempc) at ($(tempa)!0.5!(tempb)$); draw[darkgray] (tempa) -- ($(#3)!2!(tempc)$) -- (tempb); }
– kalakay
6 mins ago
sign for a right angle
– kalakay
5 mins ago
usepackage[dvipsnames]{xcolor}
– kalakay
3 mins ago