Drawing step functionsHow to graph a function using TikZ?How to draw a “Mexican hat potential” using 3dplot?How to draw a ring-like diagram with some labels on its arcs?Drawing this diagram in TikzAdd axis label to bar chart using tikzHow to integrate pgfplot inside a pre-existing tikz picture?Drawing solid-circle or dots in legendsTwo tikz figures (with colored areas) next to each otherDrawing coordinate system with tikz and changing offset, spacing etcCreating a stacked and grouped bar chart
Professor being mistaken for a grad student
Charles Hockett - 'F' article?
How to deal with taxi scam when on vacation?
What's causing this power spike in STM32 low power mode
What's the meaning of “spike” in the context of “adrenaline spike”?
My Graph Theory Students
Recruiter wants very extensive technical details about all of my previous work
Why did it take so long to abandon sail after steamships were demonstrated?
What exactly is this small puffer fish doing and how did it manage to accomplish such a feat?
What are substitutions for coconut in curry?
Why do passenger jet manufacturers design their planes with stall prevention systems?
Who is flying the vertibirds?
Why doesn't using two cd commands in bash script execute the second command?
Is it normal that my co-workers at a fitness company criticize my food choices?
Is a party consisting of only a bard, a cleric, and a warlock functional long-term?
Can I use USB data pins as power source
What do Xenomorphs eat in the Alien series?
How to read the value of this capacitor?
How to write cleanly even if my character uses expletive language?
Are there other languages, besides English, where the indefinite (or definite) article varies based on sound?
In a future war, an old lady is trying to raise a boy but one of the weapons has made everyone deaf
Define, (actually define) the "stability" and "energy" of a compound
How difficult is it to simply disable/disengage the MCAS on Boeing 737 Max 8 & 9 Aircraft?
Use void Apex method in Lightning Web Component
Drawing step functions
How to graph a function using TikZ?How to draw a “Mexican hat potential” using 3dplot?How to draw a ring-like diagram with some labels on its arcs?Drawing this diagram in TikzAdd axis label to bar chart using tikzHow to integrate pgfplot inside a pre-existing tikz picture?Drawing solid-circle or dots in legendsTwo tikz figures (with colored areas) next to each otherDrawing coordinate system with tikz and changing offset, spacing etcCreating a stacked and grouped bar chart
How would I represent a one dimensional potential step such as the one shown in the attached figure? I've managed to get as far as defining my x and y axis but I'm not sure how to draw the function and insert the required labels. Any assistance would be greatly appreciated. 
tikz-pgf pgfplots graphs
New contributor
H98 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
How would I represent a one dimensional potential step such as the one shown in the attached figure? I've managed to get as far as defining my x and y axis but I'm not sure how to draw the function and insert the required labels. Any assistance would be greatly appreciated. 
tikz-pgf pgfplots graphs
New contributor
H98 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
How would I represent a one dimensional potential step such as the one shown in the attached figure? I've managed to get as far as defining my x and y axis but I'm not sure how to draw the function and insert the required labels. Any assistance would be greatly appreciated. 
tikz-pgf pgfplots graphs
New contributor
H98 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
How would I represent a one dimensional potential step such as the one shown in the attached figure? I've managed to get as far as defining my x and y axis but I'm not sure how to draw the function and insert the required labels. Any assistance would be greatly appreciated. 
tikz-pgf pgfplots graphs
tikz-pgf pgfplots graphs
New contributor
H98 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
H98 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
H98 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked 8 hours ago
H98H98
132
132
New contributor
H98 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
H98 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
H98 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Welcome to TeX-SE!
documentclass[tikz,border=3.14mm]standalone
begindocument
begintikzpicture
draw[-stealth] (-pi,0) -- (pi,0) node[right]$x$;
draw[-stealth] (0,0) -- (0,2) node[above]$V(x)$;
draw[thick] (-pi,0) -- (0,0) node[below]$0$ -- (0,1) node[left]$V_0$ -- (pi,1);
endtikzpicture
enddocument

1
That's fantastic, thank you so much! Have a nice day
– H98
8 hours ago
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
);
);
H98 is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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%2f479645%2fdrawing-step-functions%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
Welcome to TeX-SE!
documentclass[tikz,border=3.14mm]standalone
begindocument
begintikzpicture
draw[-stealth] (-pi,0) -- (pi,0) node[right]$x$;
draw[-stealth] (0,0) -- (0,2) node[above]$V(x)$;
draw[thick] (-pi,0) -- (0,0) node[below]$0$ -- (0,1) node[left]$V_0$ -- (pi,1);
endtikzpicture
enddocument

1
That's fantastic, thank you so much! Have a nice day
– H98
8 hours ago
add a comment |
Welcome to TeX-SE!
documentclass[tikz,border=3.14mm]standalone
begindocument
begintikzpicture
draw[-stealth] (-pi,0) -- (pi,0) node[right]$x$;
draw[-stealth] (0,0) -- (0,2) node[above]$V(x)$;
draw[thick] (-pi,0) -- (0,0) node[below]$0$ -- (0,1) node[left]$V_0$ -- (pi,1);
endtikzpicture
enddocument

1
That's fantastic, thank you so much! Have a nice day
– H98
8 hours ago
add a comment |
Welcome to TeX-SE!
documentclass[tikz,border=3.14mm]standalone
begindocument
begintikzpicture
draw[-stealth] (-pi,0) -- (pi,0) node[right]$x$;
draw[-stealth] (0,0) -- (0,2) node[above]$V(x)$;
draw[thick] (-pi,0) -- (0,0) node[below]$0$ -- (0,1) node[left]$V_0$ -- (pi,1);
endtikzpicture
enddocument

Welcome to TeX-SE!
documentclass[tikz,border=3.14mm]standalone
begindocument
begintikzpicture
draw[-stealth] (-pi,0) -- (pi,0) node[right]$x$;
draw[-stealth] (0,0) -- (0,2) node[above]$V(x)$;
draw[thick] (-pi,0) -- (0,0) node[below]$0$ -- (0,1) node[left]$V_0$ -- (pi,1);
endtikzpicture
enddocument

answered 8 hours ago
marmotmarmot
108k5133251
108k5133251
1
That's fantastic, thank you so much! Have a nice day
– H98
8 hours ago
add a comment |
1
That's fantastic, thank you so much! Have a nice day
– H98
8 hours ago
1
1
That's fantastic, thank you so much! Have a nice day
– H98
8 hours ago
That's fantastic, thank you so much! Have a nice day
– H98
8 hours ago
add a comment |
H98 is a new contributor. Be nice, and check out our Code of Conduct.
H98 is a new contributor. Be nice, and check out our Code of Conduct.
H98 is a new contributor. Be nice, and check out our Code of Conduct.
H98 is a new contributor. Be nice, and check out our Code of Conduct.
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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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%2f479645%2fdrawing-step-functions%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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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